#[non_exhaustive]pub struct ExportCertificateInputBuilder { /* private fields */ }
Expand description
A builder for ExportCertificateInput
.
Implementations§
source§impl ExportCertificateInputBuilder
impl ExportCertificateInputBuilder
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
sourcepub fn get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012
sourcepub fn passphrase(self, input: Blob) -> Self
pub fn passphrase(self, input: Blob) -> Self
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
sourcepub fn set_passphrase(self, input: Option<Blob>) -> Self
pub fn set_passphrase(self, input: Option<Blob>) -> Self
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
sourcepub fn get_passphrase(&self) -> &Option<Blob>
pub fn get_passphrase(&self) -> &Option<Blob>
Passphrase to associate with the encrypted exported private key.
When creating your passphrase, you can use any ASCII character except #, $, or %.
If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
openssl rsa -in encrypted_key.pem -out decrypted_key.pem
sourcepub fn build(self) -> Result<ExportCertificateInput, BuildError>
pub fn build(self) -> Result<ExportCertificateInput, BuildError>
Consumes the builder and constructs a ExportCertificateInput
.
source§impl ExportCertificateInputBuilder
impl ExportCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExportCertificateOutput, SdkError<ExportCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExportCertificateOutput, SdkError<ExportCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExportCertificateInputBuilder
impl Clone for ExportCertificateInputBuilder
source§fn clone(&self) -> ExportCertificateInputBuilder
fn clone(&self) -> ExportCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExportCertificateInputBuilder
impl Default for ExportCertificateInputBuilder
source§fn default() -> ExportCertificateInputBuilder
fn default() -> ExportCertificateInputBuilder
source§impl PartialEq for ExportCertificateInputBuilder
impl PartialEq for ExportCertificateInputBuilder
source§fn eq(&self, other: &ExportCertificateInputBuilder) -> bool
fn eq(&self, other: &ExportCertificateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.