#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsCertificateManagerCertificateDetails
Implementations
sourceimpl Builder
impl Builder
The ARN of the private certificate authority (CA) that will be used to issue the certificate.
The ARN of the private certificate authority (CA) that will be used to issue the certificate.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
Indicates when the certificate was requested.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
Indicates when the certificate was requested.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
sourcepub fn domain_validation_options(
self,
input: AwsCertificateManagerCertificateDomainValidationOption
) -> Self
pub fn domain_validation_options(
self,
input: AwsCertificateManagerCertificateDomainValidationOption
) -> Self
Appends an item to domain_validation_options
.
To override the contents of this collection use set_domain_validation_options
.
Contains information about the initial validation of each domain name that occurs as a result of the RequestCertificate
request.
Only provided if the certificate type is AMAZON_ISSUED
.
sourcepub fn set_domain_validation_options(
self,
input: Option<Vec<AwsCertificateManagerCertificateDomainValidationOption>>
) -> Self
pub fn set_domain_validation_options(
self,
input: Option<Vec<AwsCertificateManagerCertificateDomainValidationOption>>
) -> Self
Contains information about the initial validation of each domain name that occurs as a result of the RequestCertificate
request.
Only provided if the certificate type is AMAZON_ISSUED
.
sourcepub fn extended_key_usages(
self,
input: AwsCertificateManagerCertificateExtendedKeyUsage
) -> Self
pub fn extended_key_usages(
self,
input: AwsCertificateManagerCertificateExtendedKeyUsage
) -> Self
Appends an item to extended_key_usages
.
To override the contents of this collection use set_extended_key_usages
.
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
sourcepub fn set_extended_key_usages(
self,
input: Option<Vec<AwsCertificateManagerCertificateExtendedKeyUsage>>
) -> Self
pub fn set_extended_key_usages(
self,
input: Option<Vec<AwsCertificateManagerCertificateExtendedKeyUsage>>
) -> Self
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
For a failed certificate request, the reason for the failure.
Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
| DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
For a failed certificate request, the reason for the failure.
Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
| DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
sourcepub fn imported_at(self, input: impl Into<String>) -> Self
pub fn imported_at(self, input: impl Into<String>) -> Self
Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_imported_at(self, input: Option<String>) -> Self
pub fn set_imported_at(self, input: Option<String>) -> Self
Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn in_use_by(self, input: impl Into<String>) -> Self
pub fn in_use_by(self, input: impl Into<String>) -> Self
Appends an item to in_use_by
.
To override the contents of this collection use set_in_use_by
.
The list of ARNs for the Amazon Web Services resources that use the certificate.
sourcepub fn set_in_use_by(self, input: Option<Vec<String>>) -> Self
pub fn set_in_use_by(self, input: Option<Vec<String>>) -> Self
The list of ARNs for the Amazon Web Services resources that use the certificate.
sourcepub fn issued_at(self, input: impl Into<String>) -> Self
pub fn issued_at(self, input: impl Into<String>) -> Self
Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_issued_at(self, input: Option<String>) -> Self
pub fn set_issued_at(self, input: Option<String>) -> Self
Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn issuer(self, input: impl Into<String>) -> Self
pub fn issuer(self, input: impl Into<String>) -> Self
The name of the certificate authority that issued and signed the certificate.
sourcepub fn set_issuer(self, input: Option<String>) -> Self
pub fn set_issuer(self, input: Option<String>) -> Self
The name of the certificate authority that issued and signed the certificate.
sourcepub fn key_algorithm(self, input: impl Into<String>) -> Self
pub fn key_algorithm(self, input: impl Into<String>) -> Self
The algorithm that was used to generate the public-private key pair.
Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
| EC_secp384r1
| EC_secp521r1
sourcepub fn set_key_algorithm(self, input: Option<String>) -> Self
pub fn set_key_algorithm(self, input: Option<String>) -> Self
The algorithm that was used to generate the public-private key pair.
Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
| EC_secp384r1
| EC_secp521r1
sourcepub fn key_usages(self, input: AwsCertificateManagerCertificateKeyUsage) -> Self
pub fn key_usages(self, input: AwsCertificateManagerCertificateKeyUsage) -> Self
Appends an item to key_usages
.
To override the contents of this collection use set_key_usages
.
A list of key usage X.509 v3 extension objects.
sourcepub fn set_key_usages(
self,
input: Option<Vec<AwsCertificateManagerCertificateKeyUsage>>
) -> Self
pub fn set_key_usages(
self,
input: Option<Vec<AwsCertificateManagerCertificateKeyUsage>>
) -> Self
A list of key usage X.509 v3 extension objects.
sourcepub fn not_after(self, input: impl Into<String>) -> Self
pub fn not_after(self, input: impl Into<String>) -> Self
The time after which the certificate becomes invalid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_not_after(self, input: Option<String>) -> Self
pub fn set_not_after(self, input: Option<String>) -> Self
The time after which the certificate becomes invalid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn not_before(self, input: impl Into<String>) -> Self
pub fn not_before(self, input: impl Into<String>) -> Self
The time before which the certificate is not valid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_not_before(self, input: Option<String>) -> Self
pub fn set_not_before(self, input: Option<String>) -> Self
The time before which the certificate is not valid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn options(self, input: AwsCertificateManagerCertificateOptions) -> Self
pub fn options(self, input: AwsCertificateManagerCertificateOptions) -> Self
Provides a value that specifies whether to add the certificate to a transparency log.
sourcepub fn set_options(
self,
input: Option<AwsCertificateManagerCertificateOptions>
) -> Self
pub fn set_options(
self,
input: Option<AwsCertificateManagerCertificateOptions>
) -> Self
Provides a value that specifies whether to add the certificate to a transparency log.
sourcepub fn renewal_eligibility(self, input: impl Into<String>) -> Self
pub fn renewal_eligibility(self, input: impl Into<String>) -> Self
Whether the certificate is eligible for renewal.
Valid values: ELIGIBLE
| INELIGIBLE
sourcepub fn set_renewal_eligibility(self, input: Option<String>) -> Self
pub fn set_renewal_eligibility(self, input: Option<String>) -> Self
Whether the certificate is eligible for renewal.
Valid values: ELIGIBLE
| INELIGIBLE
sourcepub fn renewal_summary(
self,
input: AwsCertificateManagerCertificateRenewalSummary
) -> Self
pub fn renewal_summary(
self,
input: AwsCertificateManagerCertificateRenewalSummary
) -> Self
Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is AMAZON_ISSUED
.
sourcepub fn set_renewal_summary(
self,
input: Option<AwsCertificateManagerCertificateRenewalSummary>
) -> Self
pub fn set_renewal_summary(
self,
input: Option<AwsCertificateManagerCertificateRenewalSummary>
) -> Self
Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is AMAZON_ISSUED
.
sourcepub fn set_serial(self, input: Option<String>) -> Self
pub fn set_serial(self, input: Option<String>) -> Self
The serial number of the certificate.
sourcepub fn signature_algorithm(self, input: impl Into<String>) -> Self
pub fn signature_algorithm(self, input: impl Into<String>) -> Self
The algorithm that was used to sign the certificate.
sourcepub fn set_signature_algorithm(self, input: Option<String>) -> Self
pub fn set_signature_algorithm(self, input: Option<String>) -> Self
The algorithm that was used to sign the certificate.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the certificate.
Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
| EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the certificate.
Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
| EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The name of the entity that is associated with the public key contained in the certificate.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The name of the entity that is associated with the public key contained in the certificate.
sourcepub fn subject_alternative_names(self, input: impl Into<String>) -> Self
pub fn subject_alternative_names(self, input: impl Into<String>) -> Self
Appends an item to subject_alternative_names
.
To override the contents of this collection use set_subject_alternative_names
.
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate.
The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
sourcepub fn set_subject_alternative_names(self, input: Option<Vec<String>>) -> Self
pub fn set_subject_alternative_names(self, input: Option<Vec<String>>) -> Self
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate.
The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The source of the certificate. For certificates that Certificate Manager provides, Type
is AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
, Type
is IMPORTED
.
Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The source of the certificate. For certificates that Certificate Manager provides, Type
is AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
, Type
is IMPORTED
.
Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
sourcepub fn build(self) -> AwsCertificateManagerCertificateDetails
pub fn build(self) -> AwsCertificateManagerCertificateDetails
Consumes the builder and constructs a AwsCertificateManagerCertificateDetails
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more