Interface AwsCertificateManagerCertificateDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,AwsCertificateManagerCertificateDetails>, SdkBuilder<AwsCertificateManagerCertificateDetails.Builder,AwsCertificateManagerCertificateDetails>, SdkPojo
Enclosing class:
AwsCertificateManagerCertificateDetails

public static interface AwsCertificateManagerCertificateDetails.Builder extends SdkPojo, CopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,AwsCertificateManagerCertificateDetails>
  • Method Details

    • certificateAuthorityArn

      AwsCertificateManagerCertificateDetails.Builder certificateAuthorityArn(String certificateAuthorityArn)

      The ARN of the private certificate authority (CA) that will be used to issue the certificate.

      Parameters:
      certificateAuthorityArn - The ARN of the private certificate authority (CA) that will be used to issue the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Indicates when the certificate was requested.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      createdAt - Indicates when the certificate was requested.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainName

      The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.

      Parameters:
      domainName - The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainValidationOptions

      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.

      Parameters:
      domainValidationOptions - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainValidationOptions

      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.

      Parameters:
      domainValidationOptions - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainValidationOptions

      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.

      This is a convenience method that creates an instance of the AwsCertificateManagerCertificateDomainValidationOption.Builder avoiding the need to create one manually via AwsCertificateManagerCertificateDomainValidationOption.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to domainValidationOptions(List<AwsCertificateManagerCertificateDomainValidationOption>).

      Parameters:
      domainValidationOptions - a consumer that will call methods on AwsCertificateManagerCertificateDomainValidationOption.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • extendedKeyUsages

      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).

      Parameters:
      extendedKeyUsages - 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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • extendedKeyUsages

      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).

      Parameters:
      extendedKeyUsages - 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).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • extendedKeyUsages

      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).

      This is a convenience method that creates an instance of the AwsCertificateManagerCertificateExtendedKeyUsage.Builder avoiding the need to create one manually via AwsCertificateManagerCertificateExtendedKeyUsage.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to extendedKeyUsages(List<AwsCertificateManagerCertificateExtendedKeyUsage>).

      Parameters:
      extendedKeyUsages - a consumer that will call methods on AwsCertificateManagerCertificateExtendedKeyUsage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      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

      Parameters:
      failureReason - 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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importedAt

      Indicates when the certificate was imported. Provided if the certificate type is IMPORTED.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      importedAt - Indicates when the certificate was imported. Provided if the certificate type is IMPORTED .

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inUseBy

      The list of ARNs for the Amazon Web Services resources that use the certificate.

      Parameters:
      inUseBy - The list of ARNs for the Amazon Web Services resources that use the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inUseBy

      The list of ARNs for the Amazon Web Services resources that use the certificate.

      Parameters:
      inUseBy - The list of ARNs for the Amazon Web Services resources that use the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuedAt

      Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      issuedAt - Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuer

      The name of the certificate authority that issued and signed the certificate.

      Parameters:
      issuer - The name of the certificate authority that issued and signed the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyAlgorithm

      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

      Parameters:
      keyAlgorithm - 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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyUsages

      A list of key usage X.509 v3 extension objects.

      Parameters:
      keyUsages - A list of key usage X.509 v3 extension objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyUsages

      A list of key usage X.509 v3 extension objects.

      Parameters:
      keyUsages - A list of key usage X.509 v3 extension objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyUsages

      A list of key usage X.509 v3 extension objects.

      This is a convenience method that creates an instance of the AwsCertificateManagerCertificateKeyUsage.Builder avoiding the need to create one manually via AwsCertificateManagerCertificateKeyUsage.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyUsages(List<AwsCertificateManagerCertificateKeyUsage>).

      Parameters:
      keyUsages - a consumer that will call methods on AwsCertificateManagerCertificateKeyUsage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • notAfter

      The time after which the certificate becomes invalid.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      notAfter - The time after which the certificate becomes invalid.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notBefore

      The time before which the certificate is not valid.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Parameters:
      notBefore - The time before which the certificate is not valid.

      This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

      • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

      • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

      • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

      • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      Provides a value that specifies whether to add the certificate to a transparency log.

      Parameters:
      options - Provides a value that specifies whether to add the certificate to a transparency log.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      Provides a value that specifies whether to add the certificate to a transparency log.

      This is a convenience method that creates an instance of the AwsCertificateManagerCertificateOptions.Builder avoiding the need to create one manually via AwsCertificateManagerCertificateOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to options(AwsCertificateManagerCertificateOptions).

      Parameters:
      options - a consumer that will call methods on AwsCertificateManagerCertificateOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • renewalEligibility

      AwsCertificateManagerCertificateDetails.Builder renewalEligibility(String renewalEligibility)

      Whether the certificate is eligible for renewal.

      Valid values: ELIGIBLE | INELIGIBLE

      Parameters:
      renewalEligibility - Whether the certificate is eligible for renewal.

      Valid values: ELIGIBLE | INELIGIBLE

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • renewalSummary

      Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is AMAZON_ISSUED.

      Parameters:
      renewalSummary - Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is AMAZON_ISSUED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • renewalSummary

      Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is AMAZON_ISSUED.

      This is a convenience method that creates an instance of the AwsCertificateManagerCertificateRenewalSummary.Builder avoiding the need to create one manually via AwsCertificateManagerCertificateRenewalSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to renewalSummary(AwsCertificateManagerCertificateRenewalSummary).

      Parameters:
      renewalSummary - a consumer that will call methods on AwsCertificateManagerCertificateRenewalSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serial

      The serial number of the certificate.

      Parameters:
      serial - The serial number of the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureAlgorithm

      AwsCertificateManagerCertificateDetails.Builder signatureAlgorithm(String signatureAlgorithm)

      The algorithm that was used to sign the certificate.

      Parameters:
      signatureAlgorithm - The algorithm that was used to sign the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the certificate.

      Valid values: PENDING_VALIDATION | ISSUED | INACTIVE | EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED

      Parameters:
      status - The status of the certificate.

      Valid values: PENDING_VALIDATION | ISSUED | INACTIVE | EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subject

      The name of the entity that is associated with the public key contained in the certificate.

      Parameters:
      subject - The name of the entity that is associated with the public key contained in the certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subjectAlternativeNames

      AwsCertificateManagerCertificateDetails.Builder subjectAlternativeNames(Collection<String> subjectAlternativeNames)

      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.

      Parameters:
      subjectAlternativeNames - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subjectAlternativeNames

      AwsCertificateManagerCertificateDetails.Builder subjectAlternativeNames(String... subjectAlternativeNames)

      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.

      Parameters:
      subjectAlternativeNames - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      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

      Parameters:
      type - 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

      Returns:
      Returns a reference to this object so that method calls can be chained together.