Class CertificateProps.Builder

java.lang.Object
software.amazon.awscdk.services.certificatemanager.CertificateProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CertificateProps>
Enclosing interface:
CertificateProps

@Stability(Stable) public static final class CertificateProps.Builder extends Object implements software.amazon.jsii.Builder<CertificateProps>
A builder for CertificateProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • domainName

      @Stability(Stable) public CertificateProps.Builder domainName(String domainName)
      Parameters:
      domainName - Fully-qualified domain name to request a certificate for. This parameter is required. May contain wildcards, such as *.domain.com.
      Returns:
      this
    • certificateName

      @Stability(Stable) public CertificateProps.Builder certificateName(String certificateName)
      Parameters:
      certificateName - The Certificate name. Since the Certificate resource doesn't support providing a physical name, the value provided here will be recorded in the Name tag
      Returns:
      this
    • keyAlgorithm

      @Stability(Stable) public CertificateProps.Builder keyAlgorithm(KeyAlgorithm keyAlgorithm)
      Parameters:
      keyAlgorithm - Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data.
      Returns:
      this
    • subjectAlternativeNames

      @Stability(Stable) public CertificateProps.Builder subjectAlternativeNames(List<String> subjectAlternativeNames)
      Parameters:
      subjectAlternativeNames - Alternative domain names on your certificate. Use this to register alternative domain names that represent the same site.
      Returns:
      this
    • transparencyLoggingEnabled

      @Stability(Stable) public CertificateProps.Builder transparencyLoggingEnabled(Boolean transparencyLoggingEnabled)
      Parameters:
      transparencyLoggingEnabled - Enable or disable transparency logging for this certificate. Once a certificate has been logged, it cannot be removed from the log. Opting out at that point will have no effect. If you opt out of logging when you request a certificate and then choose later to opt back in, your certificate will not be logged until it is renewed. If you want the certificate to be logged immediately, we recommend that you issue a new one.
      Returns:
      this
    • validation

      @Stability(Stable) public CertificateProps.Builder validation(CertificateValidation validation)
      Parameters:
      validation - How to validate this certificate.
      Returns:
      this
    • build

      @Stability(Stable) public CertificateProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CertificateProps>
      Returns:
      a new instance of CertificateProps
      Throws:
      NullPointerException - if any required attribute was not provided