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 ListTrafficPoliciesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetMaxItems()The maximum number of traffic policies to be included in the response body for this request.StringgetTrafficPolicyIdMarker()For your first request toListTrafficPolicies, do not include theTrafficPolicyIdMarkerparameter.inthashCode()voidsetMaxItems(String maxItems)The maximum number of traffic policies to be included in the response body for this request.voidsetTrafficPolicyIdMarker(String trafficPolicyIdMarker)For your first request toListTrafficPolicies, do not include theTrafficPolicyIdMarkerparameter.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTrafficPoliciesRequestwithMaxItems(String maxItems)The maximum number of traffic policies to be included in the response body for this request.ListTrafficPoliciesRequestwithTrafficPolicyIdMarker(String trafficPolicyIdMarker)For your first request toListTrafficPolicies, do not include theTrafficPolicyIdMarkerparameter.-
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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
maxItems- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic 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
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Returns:
- The maximum number of traffic policies to be included in the
response body for this request. If you have more than
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic 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
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
maxItems- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTrafficPoliciesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-