Interface CreateDomainNameRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDomainNameRequest.Builder,
,CreateDomainNameRequest> SdkBuilder<CreateDomainNameRequest.Builder,
,CreateDomainNameRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDomainNameRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn
(String certificateArn) The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.certificateBody
(String certificateBody) [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.certificateChain
(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.certificateName
(String certificateName) The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.certificatePrivateKey
(String certificatePrivateKey) [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.domainName
(String domainName) The name of the DomainName resource.default CreateDomainNameRequest.Builder
endpointConfiguration
(Consumer<EndpointConfiguration.Builder> endpointConfiguration) The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.endpointConfiguration
(EndpointConfiguration endpointConfiguration) The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.default CreateDomainNameRequest.Builder
mutualTlsAuthentication
(Consumer<MutualTlsAuthenticationInput.Builder> mutualTlsAuthentication) Sets the value of the MutualTlsAuthentication property for this object.mutualTlsAuthentication
(MutualTlsAuthenticationInput mutualTlsAuthentication) Sets the value of the MutualTlsAuthentication property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownershipVerificationCertificateArn
(String ownershipVerificationCertificateArn) The ARN of the public certificate issued by ACM to validate ownership of your custom domain.A stringified JSON policy document that applies to theexecute-api
service for this DomainName regardless of the caller and Method configuration.regionalCertificateArn
(String regionalCertificateArn) The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name.regionalCertificateName
(String regionalCertificateName) The user-friendly name of the certificate that will be used by regional endpoint for this domain name.routingMode
(String routingMode) The routing mode for this domain name.routingMode
(RoutingMode routingMode) The routing mode for this domain name.securityPolicy
(String securityPolicy) The Transport Layer Security (TLS) version + cipher suite for this DomainName.securityPolicy
(SecurityPolicy securityPolicy) The Transport Layer Security (TLS) version + cipher suite for this DomainName.The key-value map of strings.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The name of the DomainName resource.
- Parameters:
domainName
- The name of the DomainName resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateName
The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
- Parameters:
certificateName
- The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateBody
[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.
- Parameters:
certificateBody
- [Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificatePrivateKey
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
- Parameters:
certificatePrivateKey
- [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateArn
The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.
- Parameters:
certificateArn
- The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionalCertificateName
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
- Parameters:
regionalCertificateName
- The user-friendly name of the certificate that will be used by regional endpoint for this domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfiguration
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
- Parameters:
endpointConfiguration
- The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfiguration
default CreateDomainNameRequest.Builder endpointConfiguration(Consumer<EndpointConfiguration.Builder> endpointConfiguration) The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
This is a convenience method that creates an instance of theEndpointConfiguration.Builder
avoiding the need to create one manually viaEndpointConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointConfiguration(EndpointConfiguration)
.- Parameters:
endpointConfiguration
- a consumer that will call methods onEndpointConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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 withaws:
. The tag value can be up to 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityPolicy
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
.- Parameters:
securityPolicy
- The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values areTLS_1_0
andTLS_1_2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityPolicy
The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are
TLS_1_0
andTLS_1_2
.- Parameters:
securityPolicy
- The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values areTLS_1_0
andTLS_1_2
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mutualTlsAuthentication
CreateDomainNameRequest.Builder mutualTlsAuthentication(MutualTlsAuthenticationInput mutualTlsAuthentication) Sets the value of the MutualTlsAuthentication property for this object.- Parameters:
mutualTlsAuthentication
- The new value for the MutualTlsAuthentication property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualTlsAuthentication
default CreateDomainNameRequest.Builder mutualTlsAuthentication(Consumer<MutualTlsAuthenticationInput.Builder> mutualTlsAuthentication) Sets the value of the MutualTlsAuthentication property for this object. This is a convenience method that creates an instance of theMutualTlsAuthenticationInput.Builder
avoiding the need to create one manually viaMutualTlsAuthenticationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomutualTlsAuthentication(MutualTlsAuthenticationInput)
.- Parameters:
mutualTlsAuthentication
- a consumer that will call methods onMutualTlsAuthenticationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownershipVerificationCertificateArn
CreateDomainNameRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
A stringified JSON policy document that applies to the
execute-api
service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.- Parameters:
policy
- A stringified JSON policy document that applies to theexecute-api
service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingMode
The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
- Parameters:
routingMode
- The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routingMode
The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
- Parameters:
routingMode
- The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDomainNameRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDomainNameRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-