java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.CustomDomainConfigType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>

@Generated("software.amazon.awssdk:codegen") public final class CustomDomainConfigType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>

The configuration for a custom domain, including the SSL certificate and TLS security policy.

See Also:
  • Method Details

    • certificateArn

      public final String certificateArn()

      The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.

      Returns:
      The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
    • securityPolicy

      public final SecurityPolicyType securityPolicy()

      The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:

      • TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility.

      • TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases.

      • TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.

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

      Returns:
      The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:

      • TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility.

      • TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases.

      • TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.

      See Also:
    • securityPolicyAsString

      public final String securityPolicyAsString()

      The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:

      • TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility.

      • TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases.

      • TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.

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

      Returns:
      The security policy for the custom domain. Defines the minimum TLS version and cipher suites that CloudFront uses when communicating with viewers (clients). Valid values are as follows:

      • TLS_V1: Supports TLS 1.0 and later. Provides the broadest client compatibility.

      • TLS_V1_2_2021: Supports TLS 1.2 and later with 2021 cipher suites. Recommended minimum for most use cases.

      • TLS_V1_3_2025: Supports TLS 1.3 and later with 2025 cipher suites. Provides the strongest security posture.

      See Also:
    • toBuilder

      public CustomDomainConfigType.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<CustomDomainConfigType.Builder,CustomDomainConfigType>
    • builder

      public static CustomDomainConfigType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends CustomDomainConfigType.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo