Class CfnDomainNameMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnDomainNameMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainNameMixinProps>
- Enclosing interface:
CfnDomainNameMixinProps
@Stability(Stable)
public static final class CfnDomainNameMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainNameMixinProps>
A builder for
CfnDomainNameMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) Sets the value ofCfnDomainNameMixinProps.getDomainName()domainNameConfigurations(List<? extends Object> domainNameConfigurations) Sets the value ofCfnDomainNameMixinProps.getDomainNameConfigurations()domainNameConfigurations(IResolvable domainNameConfigurations) Sets the value ofCfnDomainNameMixinProps.getDomainNameConfigurations()mutualTlsAuthentication(CfnDomainNamePropsMixin.MutualTlsAuthenticationProperty mutualTlsAuthentication) Sets the value ofCfnDomainNameMixinProps.getMutualTlsAuthentication()mutualTlsAuthentication(IResolvable mutualTlsAuthentication) Sets the value ofCfnDomainNameMixinProps.getMutualTlsAuthentication()routingMode(String routingMode) Sets the value ofCfnDomainNameMixinProps.getRoutingMode()Sets the value ofCfnDomainNameMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnDomainNameMixinProps.getDomainName()- Parameters:
domainName- The custom domain name for your API in Amazon API Gateway. Uppercase letters and the underscore (_) character are not supported.- Returns:
this
-
domainNameConfigurations
@Stability(Stable) public CfnDomainNameMixinProps.Builder domainNameConfigurations(IResolvable domainNameConfigurations) Sets the value ofCfnDomainNameMixinProps.getDomainNameConfigurations()- Parameters:
domainNameConfigurations- The domain name configurations.- Returns:
this
-
domainNameConfigurations
@Stability(Stable) public CfnDomainNameMixinProps.Builder domainNameConfigurations(List<? extends Object> domainNameConfigurations) Sets the value ofCfnDomainNameMixinProps.getDomainNameConfigurations()- Parameters:
domainNameConfigurations- The domain name configurations.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnDomainNameMixinProps.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) Sets the value ofCfnDomainNameMixinProps.getMutualTlsAuthentication()- Parameters:
mutualTlsAuthentication- The mutual TLS authentication configuration for a custom domain name.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnDomainNameMixinProps.Builder mutualTlsAuthentication(CfnDomainNamePropsMixin.MutualTlsAuthenticationProperty mutualTlsAuthentication) Sets the value ofCfnDomainNameMixinProps.getMutualTlsAuthentication()- Parameters:
mutualTlsAuthentication- The mutual TLS authentication configuration for a custom domain name.- Returns:
this
-
routingMode
Sets the value ofCfnDomainNameMixinProps.getRoutingMode()- Parameters:
routingMode- The routing mode API Gateway uses to route traffic to your APIs.- Returns:
this
-
tags
Sets the value ofCfnDomainNameMixinProps.getTags()- Parameters:
tags- The collection of tags associated with a domain name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainNameMixinProps>- Returns:
- a new instance of
CfnDomainNameMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-