@Generated(value="software.amazon.awssdk:codegen") public final class GetDomainNameResponse extends ApiGatewayResponse implements ToCopyableBuilder<GetDomainNameResponse.Builder,GetDomainNameResponse>
Represents a custom domain name as a user-friendly host name of an API (RestApi).
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDomainNameResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetDomainNameResponse.Builder |
builder() |
String |
certificateArn()
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this
domain name.
|
String |
certificateName()
The name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
Instant |
certificateUploadDate()
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
|
String |
distributionDomainName()
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an
edge-optimized endpoint.
|
String |
distributionHostedZoneId()
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint.
|
String |
domainName()
The custom domain name as an API host name, for example,
my-api.example.com. |
DomainNameStatus |
domainNameStatus()
The status of the DomainName migration.
|
String |
domainNameStatusAsString()
The status of the DomainName migration.
|
String |
domainNameStatusMessage()
An optional text message containing detailed information about status of the DomainName migration.
|
EndpointConfiguration |
endpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
MutualTlsAuthentication |
mutualTlsAuthentication()
The mutual TLS authentication configuration for a custom domain name.
|
String |
ownershipVerificationCertificateArn()
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
String |
regionalCertificateArn()
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain
name.
|
String |
regionalCertificateName()
The name of the certificate that will be used for validating the regional domain name.
|
String |
regionalDomainName()
The domain name associated with the regional endpoint for this custom domain name.
|
String |
regionalHostedZoneId()
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
|
List<SdkField<?>> |
sdkFields() |
SecurityPolicy |
securityPolicy()
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
String |
securityPolicyAsString()
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
static Class<? extends GetDomainNameResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The collection of tags.
|
GetDomainNameResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The custom domain name as an API host name, for example, my-api.example.com.
my-api.example.com.public final String certificateName()
The name of the certificate that will be used by edge-optimized endpoint for this domain name.
public final String certificateArn()
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this domain name. Certificate Manager is the only supported source.
public final Instant certificateUploadDate()
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
public final String regionalDomainName()
The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.
public final String regionalHostedZoneId()
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.
public final String regionalCertificateName()
The name of the certificate that will be used for validating the regional domain name.
public final String regionalCertificateArn()
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain name. Certificate Manager is the only supported source.
public final String distributionDomainName()
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.
public final String distributionHostedZoneId()
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is
Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom Domain Name
and AWS Regions and Endpoints for API Gateway.
Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional Custom
Domain Name and AWS Regions and Endpoints for API Gateway.public final EndpointConfiguration endpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
public final DomainNameStatus domainNameStatus()
The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. 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().
AVAILABLE and
UPDATING. 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.DomainNameStatuspublic final String domainNameStatusAsString()
The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. 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().
AVAILABLE and
UPDATING. 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.DomainNameStatuspublic final String domainNameStatusMessage()
An optional text message containing detailed information about status of the DomainName migration.
public final SecurityPolicy securityPolicy()
The Transport Layer Security (TLS) version + cipher suite for this DomainName. 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().
TLS_1_0 and TLS_1_2.SecurityPolicypublic final String securityPolicyAsString()
The Transport Layer Security (TLS) version + cipher suite for this DomainName. 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().
TLS_1_0 and TLS_1_2.SecurityPolicypublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The collection of tags. Each tag element is associated with a given resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final MutualTlsAuthentication mutualTlsAuthentication()
The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
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.
public GetDomainNameResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDomainNameResponse.Builder,GetDomainNameResponse>toBuilder in class AwsResponsepublic static GetDomainNameResponse.Builder builder()
public static Class<? extends GetDomainNameResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.