Class CfnTrafficPolicyInstancePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnTrafficPolicyInstancePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrafficPolicyInstancePropsMixin>
- Enclosing class:
CfnTrafficPolicyInstancePropsMixin
@Stability(Stable)
public static final class CfnTrafficPolicyInstancePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrafficPolicyInstancePropsMixin>
A fluent builder for
CfnTrafficPolicyInstancePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) hostedZoneId(String hostedZoneId) The ID of the hosted zone that Amazon Route 53 creates the resource record sets in.The domain name, or subdomain name, for which Amazon Route 53 answers DNS queries by using the resource record sets it creates for this traffic policy instance.trafficPolicyId(String trafficPolicyId) The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.trafficPolicyVersion(Number trafficPolicyVersion) The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.
-
Method Details
-
create
@Stability(Stable) public static CfnTrafficPolicyInstancePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTrafficPolicyInstancePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTrafficPolicyInstancePropsMixin.Builder.
-
hostedZoneId
@Stability(Stable) public CfnTrafficPolicyInstancePropsMixin.Builder hostedZoneId(String hostedZoneId) The ID of the hosted zone that Amazon Route 53 creates the resource record sets in.The bare ID as Route 53 returns it, without a /hostedzone/ prefix.
- Parameters:
hostedZoneId- The ID of the hosted zone that Amazon Route 53 creates the resource record sets in. This parameter is required.- Returns:
this- See Also:
-
name
The domain name, or subdomain name, for which Amazon Route 53 answers DNS queries by using the resource record sets it creates for this traffic policy instance.Must be lower-case and end with a trailing dot, which is the form Route 53 returns: Route 53 normalizes DNS names, so admitting another form would neither round-trip through Read nor guarantee that a change to this property changes the resource's identity.
- Parameters:
name- The domain name, or subdomain name, for which Amazon Route 53 answers DNS queries by using the resource record sets it creates for this traffic policy instance. This parameter is required.- Returns:
this- See Also:
-
trafficPolicyId
@Stability(Stable) public CfnTrafficPolicyInstancePropsMixin.Builder trafficPolicyId(String trafficPolicyId) The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.Lower-case, as Route 53 returns it.
- Parameters:
trafficPolicyId- The ID of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. This parameter is required.- Returns:
this- See Also:
-
trafficPolicyVersion
@Stability(Stable) public CfnTrafficPolicyInstancePropsMixin.Builder trafficPolicyVersion(Number trafficPolicyVersion) The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone.- Parameters:
trafficPolicyVersion- The version of the traffic policy that Amazon Route 53 uses to create resource record sets in the specified hosted zone. This parameter is required.- Returns:
this- See Also:
-
ttl
The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone.- Parameters:
ttl- The TTL that Amazon Route 53 assigns to all of the resource record sets that it creates in the specified hosted zone. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrafficPolicyInstancePropsMixin>- Returns:
- a newly built instance of
CfnTrafficPolicyInstancePropsMixin.
-