Interface CreateDomainNameRequest.Builder

    • Method Detail

      • domainName

        CreateDomainNameRequest.Builder domainName​(String domainName)

        The name of the DomainName resource.

        Parameters:
        domainName - The name of the DomainName resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateName

        CreateDomainNameRequest.Builder certificateName​(String certificateName)

        The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.

        Parameters:
        certificateName - The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateBody

        CreateDomainNameRequest.Builder certificateBody​(String certificateBody)

        [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.

        Parameters:
        certificateBody - [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificatePrivateKey

        CreateDomainNameRequest.Builder certificatePrivateKey​(String certificatePrivateKey)

        [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.

        Parameters:
        certificatePrivateKey - [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateChain

        CreateDomainNameRequest.Builder certificateChain​(String certificateChain)

        [Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

        Parameters:
        certificateChain - [Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateArn

        CreateDomainNameRequest.Builder certificateArn​(String certificateArn)

        The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.

        Parameters:
        certificateArn - The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regionalCertificateName

        CreateDomainNameRequest.Builder regionalCertificateName​(String regionalCertificateName)

        The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

        Parameters:
        regionalCertificateName - The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regionalCertificateArn

        CreateDomainNameRequest.Builder regionalCertificateArn​(String regionalCertificateArn)

        The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.

        Parameters:
        regionalCertificateArn - The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointConfiguration

        CreateDomainNameRequest.Builder endpointConfiguration​(EndpointConfiguration endpointConfiguration)

        The endpoint configuration of this DomainName showing the endpoint types of the domain name.

        Parameters:
        endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDomainNameRequest.Builder tags​(Map<String,​String> tags)

        The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

        Parameters:
        tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityPolicy

        CreateDomainNameRequest.Builder securityPolicy​(String securityPolicy)

        The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

        Parameters:
        securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SecurityPolicy, SecurityPolicy
      • securityPolicy

        CreateDomainNameRequest.Builder securityPolicy​(SecurityPolicy securityPolicy)

        The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

        Parameters:
        securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SecurityPolicy, SecurityPolicy
      • mutualTlsAuthentication

        CreateDomainNameRequest.Builder mutualTlsAuthentication​(MutualTlsAuthenticationInput mutualTlsAuthentication)
        Sets the value of the MutualTlsAuthentication property for this object.
        Parameters:
        mutualTlsAuthentication - The new value for the MutualTlsAuthentication property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownershipVerificationCertificateArn

        CreateDomainNameRequest.Builder ownershipVerificationCertificateArn​(String ownershipVerificationCertificateArn)

        The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

        Parameters:
        ownershipVerificationCertificateArn - The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policy

        CreateDomainNameRequest.Builder policy​(String policy)

        A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.

        Parameters:
        policy - A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.