Struct aws_sdk_acm::output::export_certificate_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ExportCertificateOutput
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> ExportCertificateOutput
pub fn build(self) -> ExportCertificateOutput
Consumes the builder and constructs a ExportCertificateOutput
.