#[non_exhaustive]pub struct UpdateCertificateInputBuilder { /* private fields */ }
Expand description
A builder for UpdateCertificateInput
.
Implementations§
source§impl UpdateCertificateInputBuilder
impl UpdateCertificateInputBuilder
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. (The last part of the certificate ARN contains the certificate ID.)
This field is required.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. (The last part of the certificate ARN contains the certificate ID.)
sourcepub fn get_certificate_id(&self) -> &Option<String>
pub fn get_certificate_id(&self) -> &Option<String>
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
sourcepub fn new_status(self, input: CertificateStatus) -> Self
pub fn new_status(self, input: CertificateStatus) -> Self
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
This field is required.sourcepub fn set_new_status(self, input: Option<CertificateStatus>) -> Self
pub fn set_new_status(self, input: Option<CertificateStatus>) -> Self
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
sourcepub fn get_new_status(&self) -> &Option<CertificateStatus>
pub fn get_new_status(&self) -> &Option<CertificateStatus>
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
sourcepub fn build(self) -> Result<UpdateCertificateInput, BuildError>
pub fn build(self) -> Result<UpdateCertificateInput, BuildError>
Consumes the builder and constructs a UpdateCertificateInput
.
source§impl UpdateCertificateInputBuilder
impl UpdateCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateCertificateOutput, SdkError<UpdateCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateCertificateOutput, SdkError<UpdateCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCertificateInputBuilder
impl Clone for UpdateCertificateInputBuilder
source§fn clone(&self) -> UpdateCertificateInputBuilder
fn clone(&self) -> UpdateCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateCertificateInputBuilder
impl Default for UpdateCertificateInputBuilder
source§fn default() -> UpdateCertificateInputBuilder
fn default() -> UpdateCertificateInputBuilder
source§impl PartialEq for UpdateCertificateInputBuilder
impl PartialEq for UpdateCertificateInputBuilder
source§fn eq(&self, other: &UpdateCertificateInputBuilder) -> bool
fn eq(&self, other: &UpdateCertificateInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateCertificateInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCertificateInputBuilder
impl RefUnwindSafe for UpdateCertificateInputBuilder
impl Send for UpdateCertificateInputBuilder
impl Sync for UpdateCertificateInputBuilder
impl Unpin for UpdateCertificateInputBuilder
impl UnwindSafe for UpdateCertificateInputBuilder
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