Struct aws_sdk_iot::operation::register_certificate::builders::RegisterCertificateInputBuilder
source · #[non_exhaustive]pub struct RegisterCertificateInputBuilder { /* private fields */ }Expand description
A builder for RegisterCertificateInput.
Implementations§
source§impl RegisterCertificateInputBuilder
impl RegisterCertificateInputBuilder
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.
This field is required.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 ca_certificate_pem(self, input: impl Into<String>) -> Self
pub fn ca_certificate_pem(self, input: impl Into<String>) -> Self
The CA certificate used to sign the device certificate being registered.
sourcepub fn set_ca_certificate_pem(self, input: Option<String>) -> Self
pub fn set_ca_certificate_pem(self, input: Option<String>) -> Self
The CA certificate used to sign the device certificate being registered.
sourcepub fn get_ca_certificate_pem(&self) -> &Option<String>
pub fn get_ca_certificate_pem(&self) -> &Option<String>
The CA certificate used to sign the device certificate being registered.
sourcepub fn set_as_active(self, input: bool) -> Self
👎Deprecated
pub fn set_as_active(self, input: bool) -> Self
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
sourcepub fn set_set_as_active(self, input: Option<bool>) -> Self
👎Deprecated
pub fn set_set_as_active(self, input: Option<bool>) -> Self
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
sourcepub fn get_set_as_active(&self) -> &Option<bool>
👎Deprecated
pub fn get_set_as_active(&self) -> &Option<bool>
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
sourcepub fn status(self, input: CertificateStatus) -> Self
pub fn status(self, input: CertificateStatus) -> Self
The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.
sourcepub fn set_status(self, input: Option<CertificateStatus>) -> Self
pub fn set_status(self, input: Option<CertificateStatus>) -> Self
The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.
sourcepub fn get_status(&self) -> &Option<CertificateStatus>
pub fn get_status(&self) -> &Option<CertificateStatus>
The status of the register certificate request. Valid values that you can use include ACTIVE, INACTIVE, and REVOKED.
sourcepub fn build(self) -> Result<RegisterCertificateInput, BuildError>
pub fn build(self) -> Result<RegisterCertificateInput, BuildError>
Consumes the builder and constructs a RegisterCertificateInput.
source§impl RegisterCertificateInputBuilder
impl RegisterCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RegisterCertificateOutput, SdkError<RegisterCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RegisterCertificateOutput, SdkError<RegisterCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RegisterCertificateInputBuilder
impl Clone for RegisterCertificateInputBuilder
source§fn clone(&self) -> RegisterCertificateInputBuilder
fn clone(&self) -> RegisterCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for RegisterCertificateInputBuilder
impl Default for RegisterCertificateInputBuilder
source§fn default() -> RegisterCertificateInputBuilder
fn default() -> RegisterCertificateInputBuilder
source§impl PartialEq for RegisterCertificateInputBuilder
impl PartialEq for RegisterCertificateInputBuilder
source§fn eq(&self, other: &RegisterCertificateInputBuilder) -> bool
fn eq(&self, other: &RegisterCertificateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegisterCertificateInputBuilder
Auto Trait Implementations§
impl Freeze for RegisterCertificateInputBuilder
impl RefUnwindSafe for RegisterCertificateInputBuilder
impl Send for RegisterCertificateInputBuilder
impl Sync for RegisterCertificateInputBuilder
impl Unpin for RegisterCertificateInputBuilder
impl UnwindSafe for RegisterCertificateInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more