#[non_exhaustive]pub struct ExportCertificateOutputBuilder { /* private fields */ }
Expand description
A builder for ExportCertificateOutput
.
Implementations§
source§impl ExportCertificateOutputBuilder
impl ExportCertificateOutputBuilder
sourcepub fn certificate(self, input: impl Into<String>) -> Self
pub fn certificate(self, input: impl Into<String>) -> Self
The base64 PEM-encoded certificate.
sourcepub fn set_certificate(self, input: Option<String>) -> Self
pub fn set_certificate(self, input: Option<String>) -> Self
The base64 PEM-encoded certificate.
sourcepub fn get_certificate(&self) -> &Option<String>
pub fn get_certificate(&self) -> &Option<String>
The base64 PEM-encoded certificate.
sourcepub fn certificate_chain(self, input: impl Into<String>) -> Self
pub fn certificate_chain(self, input: impl Into<String>) -> Self
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
sourcepub fn set_certificate_chain(self, input: Option<String>) -> Self
pub fn set_certificate_chain(self, input: Option<String>) -> Self
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
sourcepub fn get_certificate_chain(&self) -> &Option<String>
pub fn get_certificate_chain(&self) -> &Option<String>
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
sourcepub fn private_key(self, input: impl Into<String>) -> Self
pub fn private_key(self, input: impl Into<String>) -> Self
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
sourcepub fn set_private_key(self, input: Option<String>) -> Self
pub fn set_private_key(self, input: Option<String>) -> Self
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
sourcepub fn get_private_key(&self) -> &Option<String>
pub fn get_private_key(&self) -> &Option<String>
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
sourcepub fn build(self) -> ExportCertificateOutput
pub fn build(self) -> ExportCertificateOutput
Consumes the builder and constructs a ExportCertificateOutput
.
Trait Implementations§
source§impl Clone for ExportCertificateOutputBuilder
impl Clone for ExportCertificateOutputBuilder
source§fn clone(&self) -> ExportCertificateOutputBuilder
fn clone(&self) -> ExportCertificateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExportCertificateOutputBuilder
impl Default for ExportCertificateOutputBuilder
source§fn default() -> ExportCertificateOutputBuilder
fn default() -> ExportCertificateOutputBuilder
source§impl PartialEq for ExportCertificateOutputBuilder
impl PartialEq for ExportCertificateOutputBuilder
source§fn eq(&self, other: &ExportCertificateOutputBuilder) -> bool
fn eq(&self, other: &ExportCertificateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.