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 ListTrafficPolicyVersionsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getId()
Specify the value ofId
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 toListTrafficPolicyVersions
, do not include theTrafficPolicyVersionMarker
parameter.int
hashCode()
void
setId(String id)
Specify the value ofId
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 toListTrafficPolicyVersions
, do not include theTrafficPolicyVersionMarker
parameter.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTrafficPolicyVersionsRequest
withId(String id)
Specify the value ofId
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 toListTrafficPolicyVersions
, do not include theTrafficPolicyVersionMarker
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
-
setId
public void setId(String id)
Specify the value of
Id
of the traffic policy for which you want to list all versions.- Parameters:
id
- Specify the value ofId
of the traffic policy for which you want to list all versions.
-
getId
public String getId()
Specify the value of
Id
of the traffic policy for which you want to list all versions.- Returns:
- Specify the value of
Id
of the traffic policy for which you want to list all versions.
-
withId
public ListTrafficPolicyVersionsRequest withId(String id)
Specify the value of
Id
of the traffic policy for which you want to list all versions.- Parameters:
id
- Specify the value ofId
of 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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 theTrafficPolicyVersionMarker
parameter.If you have more traffic policy versions than the value of
MaxItems
,ListTrafficPolicyVersions
returns only the first group ofMaxItems
versions. To get the next group ofMaxItems
traffic policy versions, submit another request toListTrafficPolicyVersions
. For the value ofTrafficPolicyVersionMarker
, specify the value of theTrafficPolicyVersionMarker
element 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
MaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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 thanMaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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
MaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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
MaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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
MaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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 thanMaxItems
versions, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyVersionMarker
element is the ID of the first version in the next group ofMaxItems
traffic 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTrafficPolicyVersionsRequest 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()
-
-