@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainNameRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to create a new domain name.
NOOP
Constructor and Description |
---|
CreateDomainNameRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainNameRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDomainNameRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDomainNameRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCertificateArn()
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this
domain name.
|
String |
getCertificateBody()
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name
provided by your certificate authority.
|
String |
getCertificateChain()
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any
blank lines, used by an edge-optimized endpoint for this domain name.
|
String |
getCertificateName()
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
String |
getCertificatePrivateKey()
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
|
String |
getDomainName()
The name of the DomainName resource.
|
EndpointConfiguration |
getEndpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
MutualTlsAuthenticationInput |
getMutualTlsAuthentication() |
String |
getOwnershipVerificationCertificateArn()
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
String |
getRegionalCertificateArn()
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this
domain name.
|
String |
getRegionalCertificateName()
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
|
String |
getSecurityPolicy()
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
Map<String,String> |
getTags()
The key-value map of strings.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this
domain name.
|
void |
setCertificateBody(String certificateBody)
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name
provided by your certificate authority.
|
void |
setCertificateChain(String certificateChain)
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any
blank lines, used by an edge-optimized endpoint for this domain name.
|
void |
setCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
void |
setCertificatePrivateKey(String certificatePrivateKey)
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
|
void |
setDomainName(String domainName)
The name of the DomainName resource.
|
void |
setEndpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
void |
setMutualTlsAuthentication(MutualTlsAuthenticationInput mutualTlsAuthentication) |
void |
setOwnershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
void |
setRegionalCertificateArn(String regionalCertificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this
domain name.
|
void |
setRegionalCertificateName(String regionalCertificateName)
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
|
void |
setSecurityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
void |
setTags(Map<String,String> tags)
The key-value map of strings.
|
String |
toString()
Returns a string representation of this object.
|
CreateDomainNameRequest |
withCertificateArn(String certificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint for this
domain name.
|
CreateDomainNameRequest |
withCertificateBody(String certificateBody)
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name
provided by your certificate authority.
|
CreateDomainNameRequest |
withCertificateChain(String certificateChain)
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any
blank lines, used by an edge-optimized endpoint for this domain name.
|
CreateDomainNameRequest |
withCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
CreateDomainNameRequest |
withCertificatePrivateKey(String certificatePrivateKey)
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
|
CreateDomainNameRequest |
withDomainName(String domainName)
The name of the DomainName resource.
|
CreateDomainNameRequest |
withEndpointConfiguration(EndpointConfiguration endpointConfiguration)
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
|
CreateDomainNameRequest |
withMutualTlsAuthentication(MutualTlsAuthenticationInput mutualTlsAuthentication) |
CreateDomainNameRequest |
withOwnershipVerificationCertificateArn(String ownershipVerificationCertificateArn)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
|
CreateDomainNameRequest |
withRegionalCertificateArn(String regionalCertificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this
domain name.
|
CreateDomainNameRequest |
withRegionalCertificateName(String regionalCertificateName)
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
|
CreateDomainNameRequest |
withSecurityPolicy(SecurityPolicy securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
CreateDomainNameRequest |
withSecurityPolicy(String securityPolicy)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
|
CreateDomainNameRequest |
withTags(Map<String,String> tags)
The key-value map of strings.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
The name of the DomainName resource.
domainName
- The name of the DomainName resource.public String getDomainName()
The name of the DomainName resource.
public CreateDomainNameRequest withDomainName(String domainName)
The name of the DomainName resource.
domainName
- The name of the DomainName resource.public void setCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
certificateName
- The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain
name.public String getCertificateName()
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
public CreateDomainNameRequest withCertificateName(String certificateName)
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
certificateName
- The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain
name.public void setCertificateBody(String certificateBody)
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
certificateBody
- [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this
domain name provided by your certificate authority.public String getCertificateBody()
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
public CreateDomainNameRequest withCertificateBody(String certificateBody)
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.
certificateBody
- [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this
domain name provided by your certificate authority.public void setCertificatePrivateKey(String certificatePrivateKey)
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
certificatePrivateKey
- [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.public String getCertificatePrivateKey()
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
public CreateDomainNameRequest withCertificatePrivateKey(String certificatePrivateKey)
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
certificatePrivateKey
- [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.public void setCertificateChain(String certificateChain)
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
certificateChain
- [Deprecated] The intermediate certificates and optionally the root certificate, one after the other
without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root
certificate, your certificate chain must start with intermediate certificates and end with the root
certificate. Use the intermediate certificates that were provided by your certificate authority. Do not
include any intermediaries that are not in the chain of trust path.public String getCertificateChain()
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
public CreateDomainNameRequest withCertificateChain(String certificateChain)
[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
certificateChain
- [Deprecated] The intermediate certificates and optionally the root certificate, one after the other
without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root
certificate, your certificate chain must start with intermediate certificates and end with the root
certificate. Use the intermediate certificates that were provided by your certificate authority. Do not
include any intermediaries that are not in the chain of trust path.public void setCertificateArn(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.public String getCertificateArn()
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 CreateDomainNameRequest withCertificateArn(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.public void setRegionalCertificateName(String regionalCertificateName)
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
regionalCertificateName
- The user-friendly name of the certificate that will be used by regional endpoint for this domain name.public String getRegionalCertificateName()
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
public CreateDomainNameRequest withRegionalCertificateName(String regionalCertificateName)
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
regionalCertificateName
- The user-friendly name of the certificate that will be used by regional endpoint for this domain name.public void setRegionalCertificateArn(String regionalCertificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.
regionalCertificateArn
- The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for
this domain name. Certificate Manager is the only supported source.public String getRegionalCertificateArn()
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.
public CreateDomainNameRequest withRegionalCertificateArn(String regionalCertificateArn)
The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.
regionalCertificateArn
- The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for
this domain name. Certificate Manager is the only supported source.public void setEndpointConfiguration(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.public EndpointConfiguration getEndpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
public CreateDomainNameRequest withEndpointConfiguration(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.public Map<String,String> getTags()
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters
and must not start with aws:
. The tag value can be up to 256 characters.
aws:
. The tag value can be up to 256 characters.public void setTags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters
and must not start with aws:
. The tag value can be up to 256 characters.
tags
- The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:
. The tag value can be up to 256 characters.public CreateDomainNameRequest withTags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters
and must not start with aws:
. The tag value can be up to 256 characters.
tags
- The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:
. The tag value can be up to 256 characters.public CreateDomainNameRequest addTagsEntry(String key, String value)
public CreateDomainNameRequest clearTagsEntries()
public void setSecurityPolicy(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
public String getSecurityPolicy()
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
and TLS_1_2
.
TLS_1_0
and TLS_1_2
.SecurityPolicy
public CreateDomainNameRequest withSecurityPolicy(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
public CreateDomainNameRequest withSecurityPolicy(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
public void setMutualTlsAuthentication(MutualTlsAuthenticationInput mutualTlsAuthentication)
mutualTlsAuthentication
- public MutualTlsAuthenticationInput getMutualTlsAuthentication()
public CreateDomainNameRequest withMutualTlsAuthentication(MutualTlsAuthenticationInput mutualTlsAuthentication)
mutualTlsAuthentication
- 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
regionalCertificateArn.public 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 CreateDomainNameRequest 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
regionalCertificateArn.public String toString()
toString
in class Object
Object.toString()
public CreateDomainNameRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()