@Generated(value="software.amazon.awssdk:codegen") public 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 AWS-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()
(Required) 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
regionalCertificateArn()
The reference to an AWS-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.
|
static Class<? extends CreateDomainNameRequest.Builder> |
serializableBuilderClass() |
CreateDomainNameRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String domainName()
(Required) The name of the DomainName resource.
public String certificateName()
The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.
public 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 String certificatePrivateKey()
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
public 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 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 String regionalCertificateName()
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
public String regionalCertificateArn()
The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.
public EndpointConfiguration endpointConfiguration()
The endpoint configuration of this DomainName showing the endpoint types of the domain name.
public CreateDomainNameRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateDomainNameRequest.Builder,CreateDomainNameRequest>
toBuilder
in class APIGatewayRequest
public static CreateDomainNameRequest.Builder builder()
public static Class<? extends CreateDomainNameRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.