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