Class ListTrafficPolicyInstancesByPolicyRequest

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

public class ListTrafficPolicyInstancesByPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

A complex type that contains the information about the request to list your traffic policy instances.

See Also:
  • Constructor Details

    • ListTrafficPolicyInstancesByPolicyRequest

      public ListTrafficPolicyInstancesByPolicyRequest()
  • Method Details

    • setTrafficPolicyId

      public void setTrafficPolicyId(String trafficPolicyId)

      The ID of the traffic policy for which you want to list traffic policy instances.

      Parameters:
      trafficPolicyId - The ID of the traffic policy for which you want to list traffic policy instances.
    • getTrafficPolicyId

      public String getTrafficPolicyId()

      The ID of the traffic policy for which you want to list traffic policy instances.

      Returns:
      The ID of the traffic policy for which you want to list traffic policy instances.
    • withTrafficPolicyId

      public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyId(String trafficPolicyId)

      The ID of the traffic policy for which you want to list traffic policy instances.

      Parameters:
      trafficPolicyId - The ID of the traffic policy for which you want to list traffic policy instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyVersion

      public void setTrafficPolicyVersion(Integer trafficPolicyVersion)

      The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

      Parameters:
      trafficPolicyVersion - The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.
    • getTrafficPolicyVersion

      public Integer getTrafficPolicyVersion()

      The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

      Returns:
      The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.
    • withTrafficPolicyVersion

      public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyVersion(Integer trafficPolicyVersion)

      The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

      Parameters:
      trafficPolicyVersion - The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHostedZoneIdMarker

      public void setHostedZoneIdMarker(String hostedZoneIdMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Parameters:
      hostedZoneIdMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

    • getHostedZoneIdMarker

      public String getHostedZoneIdMarker()

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Returns:
      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

    • withHostedZoneIdMarker

      public ListTrafficPolicyInstancesByPolicyRequest withHostedZoneIdMarker(String hostedZoneIdMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Parameters:
      hostedZoneIdMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, HostedZoneIdMarker is the ID of the hosted zone for the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyInstanceNameMarker

      public void setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Parameters:
      trafficPolicyInstanceNameMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

    • getTrafficPolicyInstanceNameMarker

      public String getTrafficPolicyInstanceNameMarker()

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Returns:
      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

    • withTrafficPolicyInstanceNameMarker

      public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Parameters:
      trafficPolicyInstanceNameMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      If the value of IsTruncated in the previous response was false, omit this value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTrafficPolicyInstanceTypeMarker

      public void setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Parameters:
      trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      See Also:
    • getTrafficPolicyInstanceTypeMarker

      public String getTrafficPolicyInstanceTypeMarker()

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Returns:
      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      See Also:
    • withTrafficPolicyInstanceTypeMarker

      public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Parameters:
      trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setTrafficPolicyInstanceTypeMarker

      public void setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Parameters:
      trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      See Also:
    • withTrafficPolicyInstanceTypeMarker

      public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)

      For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Parameters:
      trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstancesByPolicy, omit this value.

      If the value of IsTruncated in the previous response was true, TrafficPolicyInstanceTypeMarker is the DNS type of the first traffic policy instance in the next group of MaxItems traffic policy instances.

      If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get for this hosted zone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setMaxItems

      public void setMaxItems(String maxItems)

      The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Parameters:
      maxItems - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • getMaxItems

      public String getMaxItems()

      The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Returns:
      The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • withMaxItems

      public ListTrafficPolicyInstancesByPolicyRequest withMaxItems(String maxItems)

      The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.

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