@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDomainNameResponse extends ApiGatewayResponse implements ToCopyableBuilder<UpdateDomainNameResponse.Builder,UpdateDomainNameResponse>
Represents a custom domain name as a user-friendly host name of an API (RestApi).
When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the
{restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the
API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/.
When you set up a custom domain name of apis.example.com for this API, you can then access the same
resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path
mapping (BasePathMapping) of your API under the custom domain name.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDomainNameResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateDomainNameResponse.Builder |
builder() |
String |
certificateArn()
The reference to an AWS-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()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
MutualTlsAuthentication |
mutualTlsAuthentication()
The mutual TLS authentication configuration for a custom domain name.
|
String |
regionalCertificateArn()
The reference to an AWS-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 UpdateDomainNameResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The collection of tags.
|
UpdateDomainNameResponse.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 AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS 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 AWS-managed certificate that will be used for validating the regional domain name. AWS 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()
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.
You can use hasTags() to see if a value was sent in this field.
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 UpdateDomainNameResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDomainNameResponse.Builder,UpdateDomainNameResponse>toBuilder in class AwsResponsepublic static UpdateDomainNameResponse.Builder builder()
public static Class<? extends UpdateDomainNameResponse.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 © 2021. All rights reserved.