Class DomainNameConfiguration

    • Method Detail

      • apiGatewayDomainName

        public final String apiGatewayDomainName()

        A domain name for the API.

        Returns:
        A domain name for the API.
      • certificateArn

        public final String certificateArn()

        An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

        Returns:
        An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.
      • certificateName

        public final String certificateName()

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

        Returns:
        The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
      • certificateUploadDate

        public final Instant certificateUploadDate()

        The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.

        Returns:
        The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
      • domainNameStatus

        public final DomainNameStatus domainNameStatus()

        The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

        If the service returns an enum value that is not available in the current SDK version, domainNameStatus will return DomainNameStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from domainNameStatusAsString().

        Returns:
        The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.
        See Also:
        DomainNameStatus
      • domainNameStatusAsString

        public final String domainNameStatusAsString()

        The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.

        If the service returns an enum value that is not available in the current SDK version, domainNameStatus will return DomainNameStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from domainNameStatusAsString().

        Returns:
        The status of the domain name migration. The valid values are AVAILABLE, UPDATING, PENDING_CERTIFICATE_REIMPORT, and PENDING_OWNERSHIP_VERIFICATION. If the status is UPDATING, the domain cannot be modified further until the existing operation is complete. If it is AVAILABLE, the domain can be updated.
        See Also:
        DomainNameStatus
      • domainNameStatusMessage

        public final String domainNameStatusMessage()

        An optional text message containing detailed information about status of the domain name migration.

        Returns:
        An optional text message containing detailed information about status of the domain name migration.
      • hostedZoneId

        public final String hostedZoneId()

        The Amazon Route 53 Hosted Zone ID of the endpoint.

        Returns:
        The Amazon Route 53 Hosted Zone ID of the endpoint.
      • securityPolicy

        public final SecurityPolicy securityPolicy()

        The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

        If the service returns an enum value that is not available in the current SDK version, securityPolicy will return SecurityPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from securityPolicyAsString().

        Returns:
        The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.
        See Also:
        SecurityPolicy
      • securityPolicyAsString

        public final String securityPolicyAsString()

        The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.

        If the service returns an enum value that is not available in the current SDK version, securityPolicy will return SecurityPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from securityPolicyAsString().

        Returns:
        The Transport Layer Security (TLS) version of the security policy for this domain name. The valid values are TLS_1_0 and TLS_1_2.
        See Also:
        SecurityPolicy
      • ownershipVerificationCertificateArn

        public final 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

        Returns:
        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
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)