Class DomainNameConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.apigatewayv2.model.DomainNameConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainNameConfiguration.Builder,DomainNameConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DomainNameConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainNameConfiguration.Builder,DomainNameConfiguration>
The domain name configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainNameConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiGatewayDomainName()A domain name for the API.static DomainNameConfiguration.Builderbuilder()StringcertificateArn()An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name.StringcertificateName()The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.InstantcertificateUploadDate()The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.DomainNameStatusdomainNameStatus()The status of the domain name migration.StringdomainNameStatusAsString()The status of the domain name migration.StringdomainNameStatusMessage()An optional text message containing detailed information about status of the domain name migration.EndpointTypeendpointType()The endpoint type.StringendpointTypeAsString()The endpoint type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostedZoneId()The Amazon Route 53 Hosted Zone ID of the endpoint.StringownershipVerificationCertificateArn()The ARN of the public certificate issued by ACM to validate ownership of your custom domain.List<SdkField<?>>sdkFields()SecurityPolicysecurityPolicy()The Transport Layer Security (TLS) version of the security policy for this domain name.StringsecurityPolicyAsString()The Transport Layer Security (TLS) version of the security policy for this domain name.static Class<? extends DomainNameConfiguration.Builder>serializableBuilderClass()DomainNameConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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,
domainNameStatuswill returnDomainNameStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainNameStatusAsString().- 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,
domainNameStatuswill returnDomainNameStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainNameStatusAsString().- 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.
-
endpointType
public final EndpointType endpointType()
The endpoint type.
If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The endpoint type.
- See Also:
EndpointType
-
endpointTypeAsString
public final String endpointTypeAsString()
The endpoint type.
If the service returns an enum value that is not available in the current SDK version,
endpointTypewill returnEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromendpointTypeAsString().- Returns:
- The endpoint type.
- See Also:
EndpointType
-
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,
securityPolicywill returnSecurityPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityPolicyAsString().- 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,
securityPolicywill returnSecurityPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityPolicyAsString().- 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
-
toBuilder
public DomainNameConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainNameConfiguration.Builder,DomainNameConfiguration>
-
builder
public static DomainNameConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainNameConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-