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