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
-
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
-CfnApi.DomainConfigurationProperty.CertificateArn
. This parameter is required.- Returns:
this
-
domainName
Sets the value ofCfnApi.DomainConfigurationProperty.getDomainName()
- Parameters:
domainName
-CfnApi.DomainConfigurationProperty.DomainName
. 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
-CfnApi.DomainConfigurationProperty.BasePath
.- Returns:
this
-
endpointConfiguration
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder endpointConfiguration(String endpointConfiguration) Sets the value ofCfnApi.DomainConfigurationProperty.getEndpointConfiguration()
- Parameters:
endpointConfiguration
-CfnApi.DomainConfigurationProperty.EndpointConfiguration
.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()
- Parameters:
mutualTlsAuthentication
-CfnApi.DomainConfigurationProperty.MutualTlsAuthentication
.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder mutualTlsAuthentication(CfnApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) Sets the value ofCfnApi.DomainConfigurationProperty.getMutualTlsAuthentication()
- Parameters:
mutualTlsAuthentication
-CfnApi.DomainConfigurationProperty.MutualTlsAuthentication
.- Returns:
this
-
ownershipVerificationCertificateArn
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder ownershipVerificationCertificateArn(String ownershipVerificationCertificateArn) - Parameters:
ownershipVerificationCertificateArn
-CfnApi.DomainConfigurationProperty.OwnershipVerificationCertificateArn
.- Returns:
this
-
route53
Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()
- Parameters:
route53
-CfnApi.DomainConfigurationProperty.Route53
.- Returns:
this
-
route53
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder route53(CfnApi.Route53ConfigurationProperty route53) Sets the value ofCfnApi.DomainConfigurationProperty.getRoute53()
- Parameters:
route53
-CfnApi.DomainConfigurationProperty.Route53
.- Returns:
this
-
securityPolicy
@Stability(Stable) public CfnApi.DomainConfigurationProperty.Builder securityPolicy(String securityPolicy) Sets the value ofCfnApi.DomainConfigurationProperty.getSecurityPolicy()
- Parameters:
securityPolicy
-CfnApi.DomainConfigurationProperty.SecurityPolicy
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApi.DomainConfigurationProperty>
- Returns:
- a new instance of
CfnApi.DomainConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-