public class ListTrafficPolicyVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTrafficPolicyVersions operation.
Gets information about all of the versions for a specified traffic
policy. ListTrafficPolicyVersions lists only versions
that have not been deleted.
Amazon Route 53 returns a maximum of 100 items in each response. If
you have a lot of traffic policies, you can use the
maxitems parameter to list them in groups of up to 100.
The response includes three values that help you navigate from one
group of maxitems maxitems traffic policies to the next:
If the value of IsTruncated in the response is
true , there are more traffic policy versions associated
with the specified traffic policy.
If IsTruncated is false , this response
includes the last traffic policy version that is associated with the
specified traffic policy.
The ID of the next traffic policy version that is associated with the
current AWS account. If you want to list more traffic policies, make
another call to ListTrafficPolicyVersions , and specify
the value of the TrafficPolicyVersionMarker element in
the TrafficPolicyVersionMarker request parameter.
If IsTruncated is false , Amazon Route 53
omits the TrafficPolicyVersionMarker element from the
response.
The value that you specified for the MaxItems parameter
in the request that produced the current response.
NOOP| Constructor and Description |
|---|
ListTrafficPolicyVersionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPolicyVersionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getId()
Specify the value of
Id of the traffic policy for which
you want to list all versions. |
String |
getMaxItems()
The maximum number of traffic policy versions that you want Amazon
Route 53 to include in the response body for this request.
|
String |
getTrafficPolicyVersionMarker()
For your first request to
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter. |
int |
hashCode() |
void |
setId(String id)
Specify the value of
Id of the traffic policy for which
you want to list all versions. |
void |
setMaxItems(String maxItems)
The maximum number of traffic policy versions that you want Amazon
Route 53 to include in the response body for this request.
|
void |
setTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
For your first request to
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyVersionsRequest |
withId(String id)
Specify the value of
Id of the traffic policy for which
you want to list all versions. |
ListTrafficPolicyVersionsRequest |
withMaxItems(String maxItems)
The maximum number of traffic policy versions that you want Amazon
Route 53 to include in the response body for this request.
|
ListTrafficPolicyVersionsRequest |
withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
For your first request to
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getId()
Id of the traffic policy for which
you want to list all versions.
Constraints:
Length: 0 - 36
Id of the traffic policy for which
you want to list all versions.public void setId(String id)
Id of the traffic policy for which
you want to list all versions.
Constraints:
Length: 0 - 36
id - Specify the value of Id of the traffic policy for which
you want to list all versions.public ListTrafficPolicyVersionsRequest withId(String id)
Id of the traffic policy for which
you want to list all versions.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
id - Specify the value of Id of the traffic policy for which
you want to list all versions.public String getTrafficPolicyVersionMarker()
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
Constraints:
Length: 0 - 4
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
public void setTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
Constraints:
Length: 0 - 4
trafficPolicyVersionMarker - For your first request to ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
public ListTrafficPolicyVersionsRequest withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4
trafficPolicyVersionMarker - For your first request to ListTrafficPolicyVersions, do
not include the TrafficPolicyVersionMarker parameter.
If you have more traffic policy versions than the value of
MaxItems, ListTrafficPolicyVersions returns
only the first group of MaxItems versions. To get the
next group of MaxItems traffic policy versions, submit
another request to ListTrafficPolicyVersions. For the
value of TrafficPolicyVersionMarker, specify the value of
the TrafficPolicyVersionMarker element that was returned
in the previous response.
Traffic policy versions are listed in sequential order.
public String getMaxItems()
MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.public void setMaxItems(String maxItems)
MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.maxItems - The maximum number of traffic policy versions that you want Amazon
Route 53 to include in the response body for this request. If the
specified traffic policy has more than MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.public ListTrafficPolicyVersionsRequest withMaxItems(String maxItems)
MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.
Returns a reference to this object so that method calls can be chained together.
maxItems - The maximum number of traffic policy versions that you want Amazon
Route 53 to include in the response body for this request. If the
specified traffic policy has more than MaxItems versions,
the value of the IsTruncated element in the response is
true, and the value of the
TrafficPolicyVersionMarker element is the ID of the first
version in the next group of MaxItems traffic policy
versions.public String toString()
toString in class ObjectObject.toString()public ListTrafficPolicyVersionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.