Class ListTrafficPolicyVersionsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.ListTrafficPolicyVersionsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListTrafficPolicyVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains the information about the request to list your traffic policies.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTrafficPolicyVersionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTrafficPolicyVersionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetId()Specify the value ofIdof the traffic policy for which you want to list all versions.StringgetMaxItems()The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request.StringgetTrafficPolicyVersionMarker()For your first request toListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.inthashCode()voidsetId(String id)Specify the value ofIdof the traffic policy for which you want to list all versions.voidsetMaxItems(String maxItems)The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request.voidsetTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)For your first request toListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTrafficPolicyVersionsRequestwithId(String id)Specify the value ofIdof the traffic policy for which you want to list all versions.ListTrafficPolicyVersionsRequestwithMaxItems(String maxItems)The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request.ListTrafficPolicyVersionsRequestwithTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)For your first request toListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.-
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
-
setId
public void setId(String id)
Specify the value of
Idof the traffic policy for which you want to list all versions.- Parameters:
id- Specify the value ofIdof the traffic policy for which you want to list all versions.
-
getId
public String getId()
Specify the value of
Idof the traffic policy for which you want to list all versions.- Returns:
- Specify the value of
Idof the traffic policy for which you want to list all versions.
-
withId
public ListTrafficPolicyVersionsRequest withId(String id)
Specify the value of
Idof the traffic policy for which you want to list all versions.- Parameters:
id- Specify the value ofIdof the traffic policy for which you want to list all versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyVersionMarker
public void setTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
For your first request to
ListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
- Parameters:
trafficPolicyVersionMarker- For your first request toListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
-
getTrafficPolicyVersionMarker
public String getTrafficPolicyVersionMarker()
For your first request to
ListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
- Returns:
- For your first request to
ListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
-
withTrafficPolicyVersionMarker
public ListTrafficPolicyVersionsRequest withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
For your first request to
ListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
- Parameters:
trafficPolicyVersionMarker- For your first request toListTrafficPolicyVersions, do not include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get the next group ofMaxItemstraffic policy versions, submit another request toListTrafficPolicyVersions. For the value ofTrafficPolicyVersionMarker, specify the value of theTrafficPolicyVersionMarkerelement that was returned in the previous response.Traffic policy versions are listed in sequential order.
- 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 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
MaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.- Parameters:
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 thanMaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.
-
getMaxItems
public String getMaxItems()
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
MaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.- Returns:
- 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
MaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.
-
withMaxItems
public 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. If the specified traffic policy has more than
MaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.- Parameters:
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 thanMaxItemsversions, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version in the next group ofMaxItemstraffic policy versions.- 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 ListTrafficPolicyVersionsRequest 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()
-
-