Struct aws_sdk_iot::operation::create_keys_and_certificate::builders::CreateKeysAndCertificateOutputBuilder
source · #[non_exhaustive]pub struct CreateKeysAndCertificateOutputBuilder { /* private fields */ }
Expand description
A builder for CreateKeysAndCertificateOutput
.
Implementations§
source§impl CreateKeysAndCertificateOutputBuilder
impl CreateKeysAndCertificateOutputBuilder
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
The ARN of the certificate.
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
The ARN of the certificate.
sourcepub fn certificate_id(self, input: impl Into<String>) -> Self
pub fn certificate_id(self, input: impl Into<String>) -> Self
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
sourcepub fn set_certificate_id(self, input: Option<String>) -> Self
pub fn set_certificate_id(self, input: Option<String>) -> Self
The ID of the certificate. IoT issues a default subject name for the certificate (for example, IoT Certificate).
sourcepub fn certificate_pem(self, input: impl Into<String>) -> Self
pub fn certificate_pem(self, input: impl Into<String>) -> Self
The certificate data, in PEM format.
sourcepub fn set_certificate_pem(self, input: Option<String>) -> Self
pub fn set_certificate_pem(self, input: Option<String>) -> Self
The certificate data, in PEM format.
sourcepub fn set_key_pair(self, input: Option<KeyPair>) -> Self
pub fn set_key_pair(self, input: Option<KeyPair>) -> Self
The generated key pair.
sourcepub fn build(self) -> CreateKeysAndCertificateOutput
pub fn build(self) -> CreateKeysAndCertificateOutput
Consumes the builder and constructs a CreateKeysAndCertificateOutput
.
Trait Implementations§
source§impl Clone for CreateKeysAndCertificateOutputBuilder
impl Clone for CreateKeysAndCertificateOutputBuilder
source§fn clone(&self) -> CreateKeysAndCertificateOutputBuilder
fn clone(&self) -> CreateKeysAndCertificateOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateKeysAndCertificateOutputBuilder
impl Default for CreateKeysAndCertificateOutputBuilder
source§fn default() -> CreateKeysAndCertificateOutputBuilder
fn default() -> CreateKeysAndCertificateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateKeysAndCertificateOutputBuilder> for CreateKeysAndCertificateOutputBuilder
impl PartialEq<CreateKeysAndCertificateOutputBuilder> for CreateKeysAndCertificateOutputBuilder
source§fn eq(&self, other: &CreateKeysAndCertificateOutputBuilder) -> bool
fn eq(&self, other: &CreateKeysAndCertificateOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.