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 get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
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 get_certificate_id(&self) -> &Option<String>
pub fn get_certificate_id(&self) -> &Option<String>
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 get_certificate_pem(&self) -> &Option<String>
pub fn get_certificate_pem(&self) -> &Option<String>
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 get_key_pair(&self) -> &Option<KeyPair>
pub fn get_key_pair(&self) -> &Option<KeyPair>
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 for CreateKeysAndCertificateOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateKeysAndCertificateOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateKeysAndCertificateOutputBuilder
impl Send for CreateKeysAndCertificateOutputBuilder
impl Sync for CreateKeysAndCertificateOutputBuilder
impl Unpin for CreateKeysAndCertificateOutputBuilder
impl UnwindSafe for CreateKeysAndCertificateOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.