Class ListTrafficPolicyInstancesByPolicyResult

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

public class ListTrafficPolicyInstancesByPolicyResult extends Object implements Serializable, Cloneable

A complex type that contains the response information for the request.

See Also:
  • Constructor Details

    • ListTrafficPolicyInstancesByPolicyResult

      public ListTrafficPolicyInstancesByPolicyResult()
  • Method Details

    • getTrafficPolicyInstances

      public List<TrafficPolicyInstance> getTrafficPolicyInstances()

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      Returns:
      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
    • setTrafficPolicyInstances

      public void setTrafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      Parameters:
      trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
    • withTrafficPolicyInstances

      public ListTrafficPolicyInstancesByPolicyResult withTrafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      NOTE: This method appends the values to the existing list (if any). Use setTrafficPolicyInstances(java.util.Collection) or withTrafficPolicyInstances(java.util.Collection) if you want to override the existing values.

      Parameters:
      trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTrafficPolicyInstances

      public ListTrafficPolicyInstancesByPolicyResult withTrafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      Parameters:
      trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHostedZoneIdMarker

      public void setHostedZoneIdMarker(String hostedZoneIdMarker)

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

      Parameters:
      hostedZoneIdMarker - If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • getHostedZoneIdMarker

      public String getHostedZoneIdMarker()

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

      Returns:
      If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • withHostedZoneIdMarker

      public ListTrafficPolicyInstancesByPolicyResult withHostedZoneIdMarker(String hostedZoneIdMarker)

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

      Parameters:
      hostedZoneIdMarker - If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of 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.
    • setTrafficPolicyInstanceNameMarker

      public void setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)

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

      Parameters:
      trafficPolicyInstanceNameMarker - If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • getTrafficPolicyInstanceNameMarker

      public String getTrafficPolicyInstanceNameMarker()

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

      Returns:
      If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.
    • withTrafficPolicyInstanceNameMarker

      public ListTrafficPolicyInstancesByPolicyResult withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)

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

      Parameters:
      trafficPolicyInstanceNameMarker - If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of 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.
    • setTrafficPolicyInstanceTypeMarker

      public void setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.
      See Also:
    • getTrafficPolicyInstanceTypeMarker

      public String getTrafficPolicyInstanceTypeMarker()

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Returns:
      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.
      See Also:
    • withTrafficPolicyInstanceTypeMarker

      public ListTrafficPolicyInstancesByPolicyResult withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with 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.
      See Also:
    • setTrafficPolicyInstanceTypeMarker

      public void setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.
      See Also:
    • withTrafficPolicyInstanceTypeMarker

      public ListTrafficPolicyInstancesByPolicyResult withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with 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.
      See Also:
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

    • getIsTruncated

      public Boolean getIsTruncated()

      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

    • withIsTruncated

      public ListTrafficPolicyInstancesByPolicyResult withIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

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

      public Boolean isTruncated()

      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of MaxItems traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

      Valid Values: true | false

    • setMaxItems

      public void setMaxItems(String maxItems)

      The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

      Parameters:
      maxItems - The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.
    • getMaxItems

      public String getMaxItems()

      The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

      Returns:
      The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.
    • withMaxItems

      public ListTrafficPolicyInstancesByPolicyResult withMaxItems(String maxItems)

      The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

      Parameters:
      maxItems - The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.
      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

      Overrides:
      clone in class Object