Class ListTrafficPoliciesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.route53.model.ListTrafficPoliciesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class ListTrafficPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account.

See Also:
  • Constructor Details

    • ListTrafficPoliciesRequest

      public ListTrafficPoliciesRequest()
  • Method Details

    • setTrafficPolicyIdMarker

      public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)

      For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

      Parameters:
      trafficPolicyIdMarker - For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

    • getTrafficPolicyIdMarker

      public String getTrafficPolicyIdMarker()

      For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

      Returns:
      For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

    • withTrafficPolicyIdMarker

      public ListTrafficPoliciesRequest withTrafficPolicyIdMarker(String trafficPolicyIdMarker)

      For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

      Parameters:
      trafficPolicyIdMarker - For your first request to ListTrafficPolicies, do not include the TrafficPolicyIdMarker parameter.

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

      Policies are listed in the order in which they were created.

      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 policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.

      Parameters:
      maxItems - The maximum number of traffic policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.
    • getMaxItems

      public String getMaxItems()

      The maximum number of traffic policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.

      Returns:
      The maximum number of traffic policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.
    • withMaxItems

      public ListTrafficPoliciesRequest withMaxItems(String maxItems)

      The maximum number of traffic policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.

      Parameters:
      maxItems - The maximum number of traffic policies to be included in the response body for this request. If you have more than MaxItems traffic policies, the value of the IsTruncated element in the response is true, and the value of the TrafficPolicyIdMarker element is the ID of the first traffic policy in the next group of MaxItems traffic policies.
      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: