Class CfnHttpApi.Route53ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnHttpApi.Route53ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHttpApi.Route53ConfigurationProperty>
- Enclosing interface:
CfnHttpApi.Route53ConfigurationProperty
@Stability(Stable)
public static final class CfnHttpApi.Route53ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHttpApi.Route53ConfigurationProperty>
A builder for
CfnHttpApi.Route53ConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.distributedDomainName
(String distributedDomainName) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getDistributedDomainName()
evaluateTargetHealth
(Boolean evaluateTargetHealth) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getEvaluateTargetHealth()
evaluateTargetHealth
(IResolvable evaluateTargetHealth) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getEvaluateTargetHealth()
hostedZoneId
(String hostedZoneId) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getHostedZoneId()
hostedZoneName
(String hostedZoneName) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getHostedZoneName()
Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getIpV6()
ipV6
(IResolvable ipV6) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getIpV6()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
distributedDomainName
@Stability(Stable) public CfnHttpApi.Route53ConfigurationProperty.Builder distributedDomainName(String distributedDomainName) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getDistributedDomainName()
- Parameters:
distributedDomainName
- the value to be set.- Returns:
this
-
evaluateTargetHealth
@Stability(Stable) public CfnHttpApi.Route53ConfigurationProperty.Builder evaluateTargetHealth(Boolean evaluateTargetHealth) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getEvaluateTargetHealth()
- Parameters:
evaluateTargetHealth
- the value to be set.- Returns:
this
-
evaluateTargetHealth
@Stability(Stable) public CfnHttpApi.Route53ConfigurationProperty.Builder evaluateTargetHealth(IResolvable evaluateTargetHealth) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getEvaluateTargetHealth()
- Parameters:
evaluateTargetHealth
- the value to be set.- Returns:
this
-
hostedZoneId
@Stability(Stable) public CfnHttpApi.Route53ConfigurationProperty.Builder hostedZoneId(String hostedZoneId) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getHostedZoneId()
- Parameters:
hostedZoneId
- the value to be set.- Returns:
this
-
hostedZoneName
@Stability(Stable) public CfnHttpApi.Route53ConfigurationProperty.Builder hostedZoneName(String hostedZoneName) Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getHostedZoneName()
- Parameters:
hostedZoneName
- the value to be set.- Returns:
this
-
ipV6
Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getIpV6()
- Parameters:
ipV6
- the value to be set.- Returns:
this
-
ipV6
Sets the value ofCfnHttpApi.Route53ConfigurationProperty.getIpV6()
- Parameters:
ipV6
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHttpApi.Route53ConfigurationProperty>
- Returns:
- a new instance of
CfnHttpApi.Route53ConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-