public static interface DomainName.Builder extends SdkPojo, CopyableBuilder<DomainName.Builder,DomainName>
| Modifier and Type | Method and Description |
|---|---|
DomainName.Builder |
certificateArn(String certificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for
this domain name.
|
DomainName.Builder |
certificateName(String certificateName)
The name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
DomainName.Builder |
certificateUploadDate(Instant certificateUploadDate)
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was
uploaded.
|
DomainName.Builder |
distributionDomainName(String distributionDomainName)
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an
edge-optimized endpoint.
|
DomainName.Builder |
distributionHostedZoneId(String distributionHostedZoneId)
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint.
|
DomainName.Builder |
domainName(String domainName)
The custom domain name as an API host name, for example,
my-api.example.com. |
DomainName.Builder |
domainNameStatus(DomainNameStatus domainNameStatus)
The status of the DomainName migration.
|
DomainName.Builder |
domainNameStatus(String domainNameStatus)
The status of the DomainName migration.
|
DomainName.Builder |
domainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the DomainName migration.
|
default DomainName.Builder |
endpointConfiguration(Consumer<EndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
DomainName.Builder |
endpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
default DomainName.Builder |
mutualTlsAuthentication(Consumer<MutualTlsAuthentication.Builder> mutualTlsAuthentication)
The mutual TLS authentication configuration for a custom domain name.
|
DomainName.Builder |
mutualTlsAuthentication(MutualTlsAuthentication mutualTlsAuthentication)
The mutual TLS authentication configuration for a custom domain name.
|
DomainName.Builder |
ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
DomainName.Builder |
regionalCertificateArn(String regionalCertificateArn)
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional
domain name.
|
DomainName.Builder |
regionalCertificateName(String regionalCertificateName)
The name of the certificate that will be used for validating the regional domain name.
|
DomainName.Builder |
regionalDomainName(String regionalDomainName)
The domain name associated with the regional endpoint for this custom domain name.
|
DomainName.Builder |
regionalHostedZoneId(String regionalHostedZoneId)
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
|
DomainName.Builder |
securityPolicy(SecurityPolicy securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
DomainName.Builder |
securityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
DomainName.Builder |
tags(Map<String,String> tags)
The collection of tags.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDomainName.Builder domainName(String domainName)
The custom domain name as an API host name, for example, my-api.example.com.
domainName - The custom domain name as an API host name, for example, my-api.example.com.DomainName.Builder certificateName(String certificateName)
The name of the certificate that will be used by edge-optimized endpoint for this domain name.
certificateName - The name of the certificate that will be used by edge-optimized endpoint for this domain name.DomainName.Builder certificateArn(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.
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.DomainName.Builder certificateUploadDate(Instant certificateUploadDate)
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
certificateUploadDate - The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was
uploaded.DomainName.Builder regionalDomainName(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.
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.DomainName.Builder regionalHostedZoneId(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.
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.DomainName.Builder regionalCertificateName(String regionalCertificateName)
The name of the certificate that will be used for validating the regional domain name.
regionalCertificateName - The name of the certificate that will be used for validating the regional domain name.DomainName.Builder regionalCertificateArn(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.
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.DomainName.Builder distributionDomainName(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.
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.DomainName.Builder distributionHostedZoneId(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.
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.DomainName.Builder endpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
endpointConfiguration - The endpoint configuration of this DomainName showing the endpoint types of the domain name.default DomainName.Builder endpointConfiguration(Consumer<EndpointConfiguration.Builder> endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
This is a convenience method that creates an instance of theEndpointConfiguration.Builder avoiding
the need to create one manually via EndpointConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to endpointConfiguration(EndpointConfiguration).
endpointConfiguration - a consumer that will call methods on EndpointConfiguration.BuilderendpointConfiguration(EndpointConfiguration)DomainName.Builder domainNameStatus(String 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.
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.DomainNameStatus,
DomainNameStatusDomainName.Builder domainNameStatus(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.
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.DomainNameStatus,
DomainNameStatusDomainName.Builder domainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the DomainName migration.
domainNameStatusMessage - An optional text message containing detailed information about status of the DomainName migration.DomainName.Builder securityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0 and TLS_1_2.
securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0 and TLS_1_2.SecurityPolicy,
SecurityPolicyDomainName.Builder securityPolicy(SecurityPolicy securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0 and TLS_1_2.
securityPolicy - The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0 and TLS_1_2.SecurityPolicy,
SecurityPolicyDomainName.Builder tags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags - The collection of tags. Each tag element is associated with a given resource.DomainName.Builder mutualTlsAuthentication(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.
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.default DomainName.Builder mutualTlsAuthentication(Consumer<MutualTlsAuthentication.Builder> 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.
This is a convenience method that creates an instance of theMutualTlsAuthentication.Builder avoiding
the need to create one manually via MutualTlsAuthentication.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to mutualTlsAuthentication(MutualTlsAuthentication).
mutualTlsAuthentication - a consumer that will call methods on MutualTlsAuthentication.BuildermutualTlsAuthentication(MutualTlsAuthentication)DomainName.Builder ownershipVerificationCertificateArn(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.
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.Copyright © 2023. All rights reserved.