@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainNameConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The domain name configuration.
Constructor and Description |
---|
DomainNameConfiguration() |
Modifier and Type | Method and Description |
---|---|
DomainNameConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getApiGatewayDomainName()
A domain name for the API.
|
String |
getCertificateArn()
An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name.
|
String |
getCertificateName()
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
|
Date |
getCertificateUploadDate()
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
|
String |
getDomainNameStatus()
The status of the domain name migration.
|
String |
getDomainNameStatusMessage()
An optional text message containing detailed information about status of the domain name migration.
|
String |
getEndpointType()
The endpoint type.
|
String |
getHostedZoneId()
The Amazon Route 53 Hosted Zone ID of the endpoint.
|
String |
getOwnershipVerificationCertificateArn()
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
String |
getSecurityPolicy()
The Transport Layer Security (TLS) version of the security policy for this domain name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApiGatewayDomainName(String apiGatewayDomainName)
A domain name for the API.
|
void |
setCertificateArn(String certificateArn)
An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name.
|
void |
setCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
|
void |
setCertificateUploadDate(Date certificateUploadDate)
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
|
void |
setDomainNameStatus(String domainNameStatus)
The status of the domain name migration.
|
void |
setDomainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the domain name migration.
|
void |
setEndpointType(String endpointType)
The endpoint type.
|
void |
setHostedZoneId(String hostedZoneId)
The Amazon Route 53 Hosted Zone ID of the endpoint.
|
void |
setOwnershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
void |
setSecurityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version of the security policy for this domain name.
|
String |
toString()
Returns a string representation of this object.
|
DomainNameConfiguration |
withApiGatewayDomainName(String apiGatewayDomainName)
A domain name for the API.
|
DomainNameConfiguration |
withCertificateArn(String certificateArn)
An AWS-managed certificate that will be used by the edge-optimized endpoint for this domain name.
|
DomainNameConfiguration |
withCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
|
DomainNameConfiguration |
withCertificateUploadDate(Date certificateUploadDate)
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
|
DomainNameConfiguration |
withDomainNameStatus(DomainNameStatus domainNameStatus)
The status of the domain name migration.
|
DomainNameConfiguration |
withDomainNameStatus(String domainNameStatus)
The status of the domain name migration.
|
DomainNameConfiguration |
withDomainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the domain name migration.
|
DomainNameConfiguration |
withEndpointType(EndpointType endpointType)
The endpoint type.
|
DomainNameConfiguration |
withEndpointType(String endpointType)
The endpoint type.
|
DomainNameConfiguration |
withHostedZoneId(String hostedZoneId)
The Amazon Route 53 Hosted Zone ID of the endpoint.
|
DomainNameConfiguration |
withOwnershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
DomainNameConfiguration |
withSecurityPolicy(SecurityPolicy securityPolicy)
The Transport Layer Security (TLS) version of the security policy for this domain name.
|
DomainNameConfiguration |
withSecurityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version of the security policy for this domain name.
|
public void setApiGatewayDomainName(String apiGatewayDomainName)
A domain name for the API.
apiGatewayDomainName
- A domain name for the API.public String getApiGatewayDomainName()
A domain name for the API.
public DomainNameConfiguration withApiGatewayDomainName(String apiGatewayDomainName)
A domain name for the API.
apiGatewayDomainName
- A domain name for the API.public void setCertificateArn(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.
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.public String getCertificateArn()
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.
public DomainNameConfiguration withCertificateArn(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.
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.public void setCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
certificateName
- The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain
name.public String getCertificateName()
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
public DomainNameConfiguration withCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain name.
certificateName
- The user-friendly name of the certificate that will be used by the edge-optimized endpoint for this domain
name.public void setCertificateUploadDate(Date 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.public Date getCertificateUploadDate()
The timestamp when the certificate that was used by edge-optimized endpoint for this domain name was uploaded.
public DomainNameConfiguration withCertificateUploadDate(Date 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.public void setDomainNameStatus(String 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.
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.DomainNameStatus
public String getDomainNameStatus()
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.
DomainNameStatus
public DomainNameConfiguration withDomainNameStatus(String 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.
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.DomainNameStatus
public DomainNameConfiguration withDomainNameStatus(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.
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.DomainNameStatus
public void setDomainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the domain name migration.
domainNameStatusMessage
- An optional text message containing detailed information about status of the domain name migration.public String getDomainNameStatusMessage()
An optional text message containing detailed information about status of the domain name migration.
public DomainNameConfiguration withDomainNameStatusMessage(String domainNameStatusMessage)
An optional text message containing detailed information about status of the domain name migration.
domainNameStatusMessage
- An optional text message containing detailed information about status of the domain name migration.public void setEndpointType(String endpointType)
The endpoint type.
endpointType
- The endpoint type.EndpointType
public String getEndpointType()
The endpoint type.
EndpointType
public DomainNameConfiguration withEndpointType(String endpointType)
The endpoint type.
endpointType
- The endpoint type.EndpointType
public DomainNameConfiguration withEndpointType(EndpointType endpointType)
The endpoint type.
endpointType
- The endpoint type.EndpointType
public void setHostedZoneId(String hostedZoneId)
The Amazon Route 53 Hosted Zone ID of the endpoint.
hostedZoneId
- The Amazon Route 53 Hosted Zone ID of the endpoint.public String getHostedZoneId()
The Amazon Route 53 Hosted Zone ID of the endpoint.
public DomainNameConfiguration withHostedZoneId(String hostedZoneId)
The Amazon Route 53 Hosted Zone ID of the endpoint.
hostedZoneId
- The Amazon Route 53 Hosted Zone ID of the endpoint.public void setSecurityPolicy(String 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.
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.SecurityPolicy
public String getSecurityPolicy()
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.
SecurityPolicy
public DomainNameConfiguration withSecurityPolicy(String 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.
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.SecurityPolicy
public DomainNameConfiguration withSecurityPolicy(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.
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.SecurityPolicy
public void setOwnershipVerificationCertificateArn(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
regionalCertificateArnpublic String getOwnershipVerificationCertificateArn()
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 DomainNameConfiguration withOwnershipVerificationCertificateArn(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
regionalCertificateArnpublic String toString()
toString
in class Object
Object.toString()
public DomainNameConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.