Class ListTrafficPolicyVersionsResult

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

public class ListTrafficPolicyVersionsResult extends Object implements Serializable, Cloneable

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

See Also:
  • Constructor Details

    • ListTrafficPolicyVersionsResult

      public ListTrafficPolicyVersionsResult()
  • Method Details

    • getTrafficPolicies

      public List<TrafficPolicy> getTrafficPolicies()

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      Returns:
      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
    • setTrafficPolicies

      public void setTrafficPolicies(Collection<TrafficPolicy> trafficPolicies)

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      Parameters:
      trafficPolicies - A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
    • withTrafficPolicies

      public ListTrafficPolicyVersionsResult withTrafficPolicies(TrafficPolicy... trafficPolicies)

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

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

      Parameters:
      trafficPolicies - A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTrafficPolicies

      public ListTrafficPolicyVersionsResult withTrafficPolicies(Collection<TrafficPolicy> trafficPolicies)

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      Parameters:
      trafficPolicies - A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setIsTruncated

      public void setIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

    • getIsTruncated

      public Boolean getIsTruncated()

      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

    • withIsTruncated

      public ListTrafficPolicyVersionsResult withIsTruncated(Boolean isTruncated)

      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      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 policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

      Returns:
      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of maxitems traffic policies by calling ListTrafficPolicyVersions again and specifying the value of the NextMarker element in the marker parameter.

      Valid Values: true | false

    • setTrafficPolicyVersionMarker

      public void setTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)

      If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

      Parameters:
      trafficPolicyVersionMarker - If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

    • getTrafficPolicyVersionMarker

      public String getTrafficPolicyVersionMarker()

      If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

      Returns:
      If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

    • withTrafficPolicyVersionMarker

      public ListTrafficPolicyVersionsResult withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)

      If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

      Parameters:
      trafficPolicyVersionMarker - If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy in the next group of MaxItems traffic policies. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

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

      public void setMaxItems(String maxItems)

      The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions that produced the current response.

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

      public String getMaxItems()

      The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions that produced the current response.

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

      public ListTrafficPolicyVersionsResult withMaxItems(String maxItems)

      The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions that produced the current response.

      Parameters:
      maxItems - The value that you specified for the maxitems parameter in the call to ListTrafficPolicyVersions 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