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 AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleangetId()Specify the value ofIdof 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 theTrafficPolicyVersionMarkerparameter.inthashCode()voidSpecify 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.toString()Returns a string representation of this object; useful for testing and debugging.Specify the value ofIdof 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 theTrafficPolicyVersionMarkerparameter.Methods inherited from class 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
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
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
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
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
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
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
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
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
-
equals
-
hashCode
-
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:
-