pub struct ImportCertificate { /* private fields */ }
Expand description
Fluent builder constructing a request to ImportCertificate
.
Uploads the specified certificate.
Implementations§
source§impl ImportCertificate
impl ImportCertificate
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ImportCertificate, AwsResponseRetryClassifier>, SdkError<ImportCertificateError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ImportCertificate, AwsResponseRetryClassifier>, SdkError<ImportCertificateError>>
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<ImportCertificateOutput, SdkError<ImportCertificateError>>
pub async fn send(
self
) -> Result<ImportCertificateOutput, SdkError<ImportCertificateError>>
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_identifier(self, input: impl Into<String>) -> Self
pub fn certificate_identifier(self, input: impl Into<String>) -> Self
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn set_certificate_identifier(self, input: Option<String>) -> Self
pub fn set_certificate_identifier(self, input: Option<String>) -> Self
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn certificate_pem(self, input: impl Into<String>) -> Self
pub fn certificate_pem(self, input: impl Into<String>) -> Self
The contents of a .pem
file, which contains an X.509 certificate.
sourcepub fn set_certificate_pem(self, input: Option<String>) -> Self
pub fn set_certificate_pem(self, input: Option<String>) -> Self
The contents of a .pem
file, which contains an X.509 certificate.
sourcepub fn certificate_wallet(self, input: Blob) -> Self
pub fn certificate_wallet(self, input: Blob) -> Self
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file using the fileb://
prefix. You can't provide the certificate inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
sourcepub fn set_certificate_wallet(self, input: Option<Blob>) -> Self
pub fn set_certificate_wallet(self, input: Option<Blob>) -> Self
The location of an imported Oracle Wallet certificate for use with SSL. Provide the name of a .sso
file using the fileb://
prefix. You can't provide the certificate inline.
Example: filebase64("${path.root}/rds-ca-2019-root.sso")
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags associated with the certificate.
The tags associated with the certificate.
Trait Implementations§
source§impl Clone for ImportCertificate
impl Clone for ImportCertificate
source§fn clone(&self) -> ImportCertificate
fn clone(&self) -> ImportCertificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more