#[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 ==
.