Interface TrafficPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>,SdkBuilder<TrafficPolicy.Builder,TrafficPolicy>,SdkPojo
- Enclosing class:
- TrafficPolicy
public static interface TrafficPolicy.Builder extends SdkPojo, CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficPolicy.Buildercomment(String comment)The comment that you specify in theCreateTrafficPolicyrequest, if any.TrafficPolicy.Builderdocument(String document)The definition of a traffic policy in JSON format.TrafficPolicy.Builderid(String id)The ID that Amazon Route 53 assigned to a traffic policy when you created it.TrafficPolicy.Buildername(String name)The name that you specified when you created the traffic policy.TrafficPolicy.Buildertype(String type)The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.TrafficPolicy.Buildertype(RRType type)The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.TrafficPolicy.Builderversion(Integer version)The version number that Amazon Route 53 assigns to a traffic policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
TrafficPolicy.Builder id(String id)
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
- Parameters:
id- The ID that Amazon Route 53 assigned to a traffic policy when you created it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
TrafficPolicy.Builder version(Integer version)
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of
Versionis always 1.- Parameters:
version- The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value ofVersionis always 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
TrafficPolicy.Builder name(String name)
The name that you specified when you created the traffic policy.
- Parameters:
name- The name that you specified when you created the traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
TrafficPolicy.Builder type(String type)
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
-
type
TrafficPolicy.Builder type(RRType type)
The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
-
document
TrafficPolicy.Builder document(String document)
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the
CreateTrafficPolicyrequest. For more information about the JSON format, see Traffic Policy Document Format.- Parameters:
document- The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in theCreateTrafficPolicyrequest. For more information about the JSON format, see Traffic Policy Document Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
TrafficPolicy.Builder comment(String comment)
The comment that you specify in the
CreateTrafficPolicyrequest, if any.- Parameters:
comment- The comment that you specify in theCreateTrafficPolicyrequest, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-