#[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 ==
.impl StructuralPartialEq for ExportCertificateInputBuilder
Auto Trait Implementations§
impl Freeze for ExportCertificateInputBuilder
impl RefUnwindSafe for ExportCertificateInputBuilder
impl Send for ExportCertificateInputBuilder
impl Sync for ExportCertificateInputBuilder
impl Unpin for ExportCertificateInputBuilder
impl UnwindSafe for ExportCertificateInputBuilder
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> 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