Class ListTrafficPoliciesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.ListTrafficPoliciesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListTrafficPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTrafficPoliciesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTrafficPoliciesRequest
clone()
Creates a shallow clone of this request.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 toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
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 toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
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 toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTrafficPolicyIdMarker
public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Parameters:
trafficPolicyIdMarker
- For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
-
getTrafficPolicyIdMarker
public String getTrafficPolicyIdMarker()
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Returns:
- For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
-
withTrafficPolicyIdMarker
public ListTrafficPoliciesRequest withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Parameters:
trafficPolicyIdMarker
- For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
public void setMaxItems(String 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 theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
maxItems
- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
getMaxItems
public String getMaxItems()
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 theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Returns:
- 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 theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
withMaxItems
public ListTrafficPoliciesRequest withMaxItems(String 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 theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
maxItems
- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTrafficPoliciesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-