Class ListTrafficPoliciesResult

    • Constructor Detail

      • ListTrafficPoliciesResult

        public ListTrafficPoliciesResult()
    • Method Detail

      • getTrafficPolicySummaries

        public List<TrafficPolicySummary> getTrafficPolicySummaries()

        A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.

        Returns:
        A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.
      • setTrafficPolicySummaries

        public void setTrafficPolicySummaries​(Collection<TrafficPolicySummary> trafficPolicySummaries)

        A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.

        Parameters:
        trafficPolicySummaries - A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.
      • withTrafficPolicySummaries

        public ListTrafficPoliciesResult withTrafficPolicySummaries​(TrafficPolicySummary... trafficPolicySummaries)

        A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.

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

        Parameters:
        trafficPolicySummaries - A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTrafficPolicySummaries

        public ListTrafficPoliciesResult withTrafficPolicySummaries​(Collection<TrafficPolicySummary> trafficPolicySummaries)

        A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.

        Parameters:
        trafficPolicySummaries - A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.
        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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request parameter.

        Valid Values: true | false

      • withIsTruncated

        public ListTrafficPoliciesResult 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request 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 ListTrafficPolicies again and specifying the value of the TrafficPolicyIdMarker element in the TrafficPolicyIdMarker request parameter.

        Valid Values: true | false

      • setTrafficPolicyIdMarker

        public void setTrafficPolicyIdMarker​(String trafficPolicyIdMarker)

        If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.

        Parameters:
        trafficPolicyIdMarker - If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.
      • getTrafficPolicyIdMarker

        public String getTrafficPolicyIdMarker()

        If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.

        Returns:
        If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.
      • withTrafficPolicyIdMarker

        public ListTrafficPoliciesResult withTrafficPolicyIdMarker​(String trafficPolicyIdMarker)

        If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.

        Parameters:
        trafficPolicyIdMarker - If the value of IsTruncated is true, TrafficPolicyIdMarker 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.
      • setMaxItems

        public void setMaxItems​(String maxItems)

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

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

        public String getMaxItems()

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

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

        public ListTrafficPoliciesResult withMaxItems​(String maxItems)

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

        Parameters:
        maxItems - The value that you specified for the MaxItems parameter in the call to ListTrafficPolicies 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object