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
Constructors -
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- the value to be set. This parameter is required.- Returns:
this
-
domainName
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder domainName(String domainName) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getDomainName()- Parameters:
domainName- the value to be set. This parameter is required.- Returns:
this
-
basePath
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder basePath(String basePath) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getBasePath()- Parameters:
basePath- the value to be set.- Returns:
this
-
endpointConfiguration
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder endpointConfiguration(String endpointConfiguration) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getEndpointConfiguration()- Parameters:
endpointConfiguration- the value to be set.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder mutualTlsAuthentication(IResolvable mutualTlsAuthentication) - Parameters:
mutualTlsAuthentication- the value to be set.- Returns:
this
-
mutualTlsAuthentication
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder mutualTlsAuthentication(CfnHttpApi.MutualTlsAuthenticationProperty mutualTlsAuthentication) - Parameters:
mutualTlsAuthentication- the value to be set.- Returns:
this
-
route53
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder route53(IResolvable route53) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()- Parameters:
route53- the value to be set.- Returns:
this
-
route53
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder route53(CfnHttpApi.Route53ConfigurationProperty route53) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getRoute53()- Parameters:
route53- the value to be set.- Returns:
this
-
securityPolicy
@Stability(Stable) public CfnHttpApi.HttpApiDomainConfigurationProperty.Builder securityPolicy(String securityPolicy) Sets the value ofCfnHttpApi.HttpApiDomainConfigurationProperty.getSecurityPolicy()- Parameters:
securityPolicy- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHttpApi.HttpApiDomainConfigurationProperty>- Returns:
- a new instance of
CfnHttpApi.HttpApiDomainConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-