Class CfnApi.DomainConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnApi.DomainConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.DomainConfigurationProperty>
- Enclosing interface:
CfnApi.DomainConfigurationProperty
@Stability(Stable)
public static final class CfnApi.DomainConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.DomainConfigurationProperty>
A builder for
CfnApi.DomainConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApi.DomainConfigurationProperty.getBasePath()build()Builds the configured instance.certificateArn(String certificateArn) Sets the value ofCfnApi.DomainConfigurationProperty.getCertificateArn()domainName(String domainName) Sets the value ofCfnApi.DomainConfigurationProperty.getDomainName()endpointConfiguration(String endpointConfiguration) Sets the value ofCfnApi.DomainConfigurationProperty.getEndpointConfiguration()mutualTlsAuthentication(IResolvable mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()mutualTlsAuthentication(CfnApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn) route53(IResolvable route53) Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()securityPolicy(String securityPolicy) Sets the value ofCfnApi.DomainConfigurationProperty.getSecurityPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnApi.DomainConfigurationProperty.getCertificateArn()- Parameters:
certificateArn- the value to be set. This parameter is required.- Returns:
this
-
domainName
Sets the value ofCfnApi.DomainConfigurationProperty.getDomainName()- Parameters:
domainName- the value to be set. This parameter is required.- Returns:
this
-
basePath
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder basePath(List<String> basePath) Sets the value ofCfnApi.DomainConfigurationProperty.getBasePath()- Parameters:
basePath- the value to be set.- Returns:
this
-
endpointConfiguration
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder endpointConfiguration(String endpointConfiguration) Sets the value ofCfnApi.DomainConfigurationProperty.getEndpointConfiguration()- Parameters:
endpointConfiguration- the value to be set.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()- Parameters:
mutualTlsAuthentication- the value to be set.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder mutualTlsAuthentication(CfnApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()- Parameters:
mutualTlsAuthentication- the value to be set.- Returns:
this
-
ownershipVerificationCertificateArn
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn) - Parameters:
ownershipVerificationCertificateArn- the value to be set.- Returns:
this
-
route53
Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()- Parameters:
route53- the value to be set.- Returns:
this
-
route53
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder route53(CfnApi.Route53ConfigurationProperty route53) Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()- Parameters:
route53- the value to be set.- Returns:
this
-
securityPolicy
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder securityPolicy(String securityPolicy) Sets the value ofCfnApi.DomainConfigurationProperty.getSecurityPolicy()- Parameters:
securityPolicy- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApi.DomainConfigurationProperty>- Returns:
- a new instance of
CfnApi.DomainConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-