Struct aws_sdk_paymentcryptography::operation::get_public_key_certificate::builders::GetPublicKeyCertificateOutputBuilder
source · #[non_exhaustive]pub struct GetPublicKeyCertificateOutputBuilder { /* private fields */ }Expand description
A builder for GetPublicKeyCertificateOutput.
Implementations§
source§impl GetPublicKeyCertificateOutputBuilder
impl GetPublicKeyCertificateOutputBuilder
sourcepub fn key_certificate(self, input: impl Into<String>) -> Self
pub fn key_certificate(self, input: impl Into<String>) -> Self
The public key component of the asymmetric key pair in a certificate PEM format (base64 encoded). It is signed by the root certificate authority (CA). The certificate expires in 90 days.
This field is required.sourcepub fn set_key_certificate(self, input: Option<String>) -> Self
pub fn set_key_certificate(self, input: Option<String>) -> Self
The public key component of the asymmetric key pair in a certificate PEM format (base64 encoded). It is signed by the root certificate authority (CA). The certificate expires in 90 days.
sourcepub fn get_key_certificate(&self) -> &Option<String>
pub fn get_key_certificate(&self) -> &Option<String>
The public key component of the asymmetric key pair in a certificate PEM format (base64 encoded). It is signed by the root certificate authority (CA). The certificate expires in 90 days.
sourcepub fn key_certificate_chain(self, input: impl Into<String>) -> Self
pub fn key_certificate_chain(self, input: impl Into<String>) -> Self
The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.
This field is required.sourcepub fn set_key_certificate_chain(self, input: Option<String>) -> Self
pub fn set_key_certificate_chain(self, input: Option<String>) -> Self
The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.
sourcepub fn get_key_certificate_chain(&self) -> &Option<String>
pub fn get_key_certificate_chain(&self) -> &Option<String>
The root certificate authority (CA) that signed the public key certificate in PEM format (base64 encoded) of the asymmetric key pair.
sourcepub fn build(self) -> Result<GetPublicKeyCertificateOutput, BuildError>
pub fn build(self) -> Result<GetPublicKeyCertificateOutput, BuildError>
Consumes the builder and constructs a GetPublicKeyCertificateOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetPublicKeyCertificateOutputBuilder
impl Clone for GetPublicKeyCertificateOutputBuilder
source§fn clone(&self) -> GetPublicKeyCertificateOutputBuilder
fn clone(&self) -> GetPublicKeyCertificateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPublicKeyCertificateOutputBuilder
impl Default for GetPublicKeyCertificateOutputBuilder
source§fn default() -> GetPublicKeyCertificateOutputBuilder
fn default() -> GetPublicKeyCertificateOutputBuilder
source§impl PartialEq for GetPublicKeyCertificateOutputBuilder
impl PartialEq for GetPublicKeyCertificateOutputBuilder
source§fn eq(&self, other: &GetPublicKeyCertificateOutputBuilder) -> bool
fn eq(&self, other: &GetPublicKeyCertificateOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.