pub struct AcceptCertificateTransfer { /* private fields */ }
Expand description
Fluent builder constructing a request to AcceptCertificateTransfer
.
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates
to enumerate your certificates.
Requires permission to access the AcceptCertificateTransfer action.
Implementations§
source§impl AcceptCertificateTransfer
impl AcceptCertificateTransfer
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AcceptCertificateTransfer, AwsResponseRetryClassifier>, SdkError<AcceptCertificateTransferError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AcceptCertificateTransfer, AwsResponseRetryClassifier>, SdkError<AcceptCertificateTransferError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AcceptCertificateTransferOutput, SdkError<AcceptCertificateTransferError>>
pub async fn send(
self
) -> Result<AcceptCertificateTransferOutput, SdkError<AcceptCertificateTransferError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.)
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 set_as_active(self, input: bool) -> Self
pub fn set_as_active(self, input: bool) -> Self
Specifies whether the certificate is active.
sourcepub fn set_set_as_active(self, input: Option<bool>) -> Self
pub fn set_set_as_active(self, input: Option<bool>) -> Self
Specifies whether the certificate is active.
Trait Implementations§
source§impl Clone for AcceptCertificateTransfer
impl Clone for AcceptCertificateTransfer
source§fn clone(&self) -> AcceptCertificateTransfer
fn clone(&self) -> AcceptCertificateTransfer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more