Class ListTrafficPolicyVersionsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type that contains the information about the request to list your traffic policies.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getId()
Specify the value ofId
of the traffic policy for which you want to list all versions.The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request.For your first request toListTrafficPolicyVersions
, do not include theTrafficPolicyVersionMarker
parameter.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.Specify the value ofId
of the traffic policy for which you want to list all versions.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.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
-
Constructor Details
-
ListTrafficPolicyVersionsRequest
public ListTrafficPolicyVersionsRequest()
-
-
Method Details
-
setId
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-