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:
  • Constructor Details

    • ListTrafficPolicyVersionsRequest

      public ListTrafficPolicyVersionsRequest()
  • Method Details

    • 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 of Id 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

      Specify the value of Id of the traffic policy for which you want to list all versions.

      Parameters:
      id - Specify the value of Id 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 the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker element that was returned in the previous response.

      Traffic policy versions are listed in sequential order.

      Parameters:
      trafficPolicyVersionMarker - For your first request to ListTrafficPolicyVersions, do not include the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker 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 the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker 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 the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker 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 the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker element that was returned in the previous response.

      Traffic policy versions are listed in sequential order.

      Parameters:
      trafficPolicyVersionMarker - For your first request to ListTrafficPolicyVersions, do not include the TrafficPolicyVersionMarker parameter.

      If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get the next group of MaxItems traffic policy versions, submit another request to ListTrafficPolicyVersions. For the value of TrafficPolicyVersionMarker, specify the value of the TrafficPolicyVersionMarker 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 the IsTruncated element in the response is true , and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 than MaxItems versions, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 the IsTruncated element in the response is true , and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 the IsTruncated element in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 the IsTruncated element in the response is true , and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 than MaxItems versions, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version in the next group of MaxItems 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: