Interface TrafficPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficPolicy.Builder,,TrafficPolicy> SdkBuilder<TrafficPolicy.Builder,,TrafficPolicy> SdkPojo
- Enclosing class:
TrafficPolicy
-
Method Summary
Modifier and TypeMethodDescriptionThe comment that you specify in theCreateTrafficPolicyrequest, if any.The definition of a traffic policy in JSON format.The ID that Amazon Route 53 assigned to a traffic policy when you created it.The name that you specified when you created the traffic policy.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.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.The version number that Amazon Route 53 assigns to a traffic policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-