Class CfnHttpApi.HttpApiDomainConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnHttpApi.HttpApiDomainConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHttpApi.HttpApiDomainConfigurationProperty>
- Enclosing interface:
CfnHttpApi.HttpApiDomainConfigurationProperty
@Stability(Stable)
public static final class CfnHttpApi.HttpApiDomainConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHttpApi.HttpApiDomainConfigurationProperty>
A builder for
CfnHttpApi.HttpApiDomainConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getBasePath()
build()
Builds the configured instance.certificateArn
(String certificateArn) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getCertificateArn()
domainName
(String domainName) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getDomainName()
endpointConfiguration
(String endpointConfiguration) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getEndpointConfiguration()
mutualTlsAuthentication
(IResolvable mutualTlsAuthentication) mutualTlsAuthentication
(CfnHttpApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) route53
(IResolvable route53) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()
Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()
securityPolicy
(String securityPolicy) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getSecurityPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificateArn
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder certificateArn(String certificateArn) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getCertificateArn()
- Parameters:
certificateArn
-CfnHttpApi.HttpApiDomainConfigurationProperty.CertificateArn
. This parameter is required.- Returns:
this
-
domainName
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder domainName(String domainName) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getDomainName()
- Parameters:
domainName
-CfnHttpApi.HttpApiDomainConfigurationProperty.DomainName
. This parameter is required.- Returns:
this
-
basePath
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder basePath(String basePath) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getBasePath()
- Parameters:
basePath
-CfnHttpApi.HttpApiDomainConfigurationProperty.BasePath
.- Returns:
this
-
endpointConfiguration
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder endpointConfiguration(String endpointConfiguration) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getEndpointConfiguration()
- Parameters:
endpointConfiguration
-CfnHttpApi.HttpApiDomainConfigurationProperty.EndpointConfiguration
.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) - Parameters:
mutualTlsAuthentication
-CfnHttpApi.HttpApiDomainConfigurationProperty.MutualTlsAuthentication
.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder mutualTlsAuthentication(CfnHttpApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) - Parameters:
mutualTlsAuthentication
-CfnHttpApi.HttpApiDomainConfigurationProperty.MutualTlsAuthentication
.- Returns:
this
-
route53
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder route53(IResolvable route53) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()
- Parameters:
route53
-CfnHttpApi.HttpApiDomainConfigurationProperty.Route53
.- Returns:
this
-
route53
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder route53(CfnHttpApi.Route53ConfigurationProperty route53) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()
- Parameters:
route53
-CfnHttpApi.HttpApiDomainConfigurationProperty.Route53
.- Returns:
this
-
securityPolicy
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder securityPolicy(String securityPolicy) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getSecurityPolicy()
- Parameters:
securityPolicy
-CfnHttpApi.HttpApiDomainConfigurationProperty.SecurityPolicy
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHttpApi.HttpApiDomainConfigurationProperty>
- Returns:
- a new instance of
CfnHttpApi.HttpApiDomainConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-