public class ListTrafficPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTrafficPolicies operation.
Gets information about the latest version for every traffic policy
that is associated with the current AWS account. To get the
information, send a GET request to the
2013-04-01/trafficpolicy resource.
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 traffic policies to the next:
If the value of IsTruncated in the response is
true , there are more traffic policies associated with
the current AWS account.
If IsTruncated is false , this response
includes the last traffic policy that is associated with the current
account.
If IsTruncated is true ,
TrafficPolicyIdMarker is the ID of
the first traffic policy in the next group of MaxItems
traffic policies. If you want to list more traffic policies, make
another call to ListTrafficPolicies , and specify the
value of the TrafficPolicyIdMarker element from the
response in the TrafficPolicyIdMarker request parameter.
If IsTruncated is false , the
TrafficPolicyIdMarker element is omitted from the
response.
The value that you specified for the MaxItems parameter
in the request that produced the current response.
NOOP| Constructor and Description |
|---|
ListTrafficPoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPoliciesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getMaxItems()
The maximum number of traffic policies to be included in the response
body for this request.
|
String |
getTrafficPolicyIdMarker()
For your first request to
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. |
int |
hashCode() |
void |
setMaxItems(String maxItems)
The maximum number of traffic policies to be included in the response
body for this request.
|
void |
setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
For your first request to
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPoliciesRequest |
withMaxItems(String maxItems)
The maximum number of traffic policies to be included in the response
body for this request.
|
ListTrafficPoliciesRequest |
withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
For your first request to
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker 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 getTrafficPolicyIdMarker()
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
Constraints:
Length: 0 - 36
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
Constraints:
Length: 0 - 36
trafficPolicyIdMarker - For your first request to ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
public ListTrafficPoliciesRequest withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
trafficPolicyIdMarker - For your first request to ListTrafficPolicies, do not
include the TrafficPolicyIdMarker parameter. If you
have more traffic policies than the value of MaxItems,
ListTrafficPolicies returns only the first
MaxItems traffic policies. To get the next group of
MaxItems policies, submit another request to
ListTrafficPolicies. For the value of
TrafficPolicyIdMarker, specify the value of the
TrafficPolicyIdMarker element that was returned in the
previous response.
Policies are listed in the order in which they were created.
public String getMaxItems()
MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.public void setMaxItems(String maxItems)
MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.maxItems - The maximum number of traffic policies to be included in the response
body for this request. If you have more than MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.public ListTrafficPoliciesRequest withMaxItems(String maxItems)
MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.
Returns a reference to this object so that method calls can be chained together.
maxItems - The maximum number of traffic policies to be included in the response
body for this request. If you have more than MaxItems
traffic policies, the value of the IsTruncated element in
the response is true, and the value of the
TrafficPolicyIdMarker element is the ID of the first
traffic policy in the next group of MaxItems traffic
policies.public String toString()
toString in class ObjectObject.toString()public ListTrafficPoliciesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.