@Generated(value="software.amazon.awssdk:codegen") public final class CreateDomainNameRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateDomainNameRequest.Builder,CreateDomainNameRequest>
A request to create a new domain name.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDomainNameRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDomainNameRequest.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 |
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.
|
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.
|
String |
certificateName()
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
|
String |
certificatePrivateKey()
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
|
String |
domainName()
The name of the DomainName resource.
|
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.
|
MutualTlsAuthenticationInput |
mutualTlsAuthentication()
Returns the value of the MutualTlsAuthentication property for this object.
|
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 by regional endpoint for this
domain name.
|
String |
regionalCertificateName()
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
|
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 CreateDomainNameRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The key-value map of strings.
|
CreateDomainNameRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The name of the DomainName resource.
public final String certificateName()
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
public final 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.
public final String certificatePrivateKey()
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
public final 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.
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 String regionalCertificateName()
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
public final 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.
public final EndpointConfiguration endpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
public 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 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.
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.
aws:. The tag value can be up to 256 characters.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 MutualTlsAuthenticationInput mutualTlsAuthentication()
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 CreateDomainNameRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDomainNameRequest.Builder,CreateDomainNameRequest>toBuilder in class ApiGatewayRequestpublic static CreateDomainNameRequest.Builder builder()
public static Class<? extends CreateDomainNameRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.