public static interface TrafficPolicy.Builder extends CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>
Modifier and Type | Method and Description |
---|---|
TrafficPolicy.Builder |
comment(String comment)
The comment that you specify in the
CreateTrafficPolicy request, if any. |
TrafficPolicy.Builder |
document(String document)
The definition of a traffic policy in JSON format.
|
TrafficPolicy.Builder |
id(String id)
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
|
TrafficPolicy.Builder |
name(String name)
The name that you specified when you created the traffic policy.
|
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.
|
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.
|
TrafficPolicy.Builder |
version(Integer version)
The version number that Amazon Route 53 assigns to a traffic policy.
|
copy
apply, build
TrafficPolicy.Builder id(String id)
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
id
- The ID that Amazon Route 53 assigned to a traffic policy when you created it.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
Version
is always 1.
version
- The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the
value of Version
is always 1.TrafficPolicy.Builder name(String name)
The name that you specified when you created the traffic policy.
name
- The name that you specified when you created the traffic policy.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.
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.
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 CreateTrafficPolicy
request. For more information about the JSON format, see Traffic Policy Document Format.
document
- The definition of a traffic policy in JSON format. You specify the JSON document to use for a new
traffic policy in the CreateTrafficPolicy
request. For more information about the JSON
format, see Traffic Policy Document Format.TrafficPolicy.Builder comment(String comment)
The comment that you specify in the CreateTrafficPolicy
request, if any.
comment
- The comment that you specify in the CreateTrafficPolicy
request, if any.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.