public class ListTrafficPoliciesResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the request.
| Constructor and Description |
|---|
ListTrafficPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPoliciesResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
A flag that indicates whether there are more traffic policies to be
listed.
|
String |
getMaxItems()
The value that you specified for the
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response. |
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. |
List<TrafficPolicySummary> |
getTrafficPolicySummaries()
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
int |
hashCode() |
Boolean |
isTruncated()
A flag that indicates whether there are more traffic policies to be
listed.
|
void |
setIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
void |
setMaxItems(String maxItems)
The value that you specified for the
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response. |
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. |
void |
setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPoliciesResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
ListTrafficPoliciesResult |
withMaxItems(String maxItems)
The value that you specified for the
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response. |
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. |
ListTrafficPoliciesResult |
withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
ListTrafficPoliciesResult |
withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
public List<TrafficPolicySummary> getTrafficPolicySummaries()
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.public void setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.trafficPolicySummaries - A list that contains one TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.public ListTrafficPoliciesResult withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
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.
Returns a reference to this object so that method calls can be chained together.
trafficPolicySummaries - A list that contains one TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.public ListTrafficPoliciesResult withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.
Returns a reference to this object so that method calls can be chained together.
trafficPolicySummaries - A list that contains one TrafficPolicySummary element for
each traffic policy that was created by the current AWS account.public Boolean isTruncated()
MaxItems traffic policies by calling
ListTrafficPolicies again and specifying the value of the
TrafficPolicyIdMarker element in the
TrafficPolicyIdMarker request parameter. Valid Values:
true | false
MaxItems traffic policies by calling
ListTrafficPolicies again and specifying the value of the
TrafficPolicyIdMarker element in the
TrafficPolicyIdMarker request parameter. Valid Values:
true | false
public void setIsTruncated(Boolean isTruncated)
MaxItems traffic policies by calling
ListTrafficPolicies again and specifying the value of the
TrafficPolicyIdMarker element in the
TrafficPolicyIdMarker request parameter. Valid Values:
true | false
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
public ListTrafficPoliciesResult withIsTruncated(Boolean isTruncated)
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 reference to this object so that method calls can be chained together.
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
public Boolean getIsTruncated()
MaxItems traffic policies by calling
ListTrafficPolicies again and specifying the value of the
TrafficPolicyIdMarker element in the
TrafficPolicyIdMarker request parameter. Valid Values:
true | false
MaxItems traffic policies by calling
ListTrafficPolicies again and specifying the value of the
TrafficPolicyIdMarker element in the
TrafficPolicyIdMarker request parameter. Valid Values:
true | false
public String getTrafficPolicyIdMarker()
IsTruncated is true,
TrafficPolicyIdMarker is the ID of the first traffic
policy in the next group of MaxItems traffic policies.
Constraints:
Length: 0 - 36
IsTruncated is true,
TrafficPolicyIdMarker is the ID of the first traffic
policy in the next group of MaxItems traffic policies.public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
IsTruncated is true,
TrafficPolicyIdMarker is the ID of the first traffic
policy in the next group of MaxItems traffic policies.
Constraints:
Length: 0 - 36
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.public ListTrafficPoliciesResult withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
IsTruncated is true,
TrafficPolicyIdMarker is the ID of the first traffic
policy in the next group of MaxItems traffic policies.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
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.public String getMaxItems()
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.public void setMaxItems(String maxItems)
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.maxItems - The value that you specified for the MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.public ListTrafficPoliciesResult withMaxItems(String maxItems)
MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.
Returns a reference to this object so that method calls can be chained together.
maxItems - The value that you specified for the MaxItems parameter
in the call to ListTrafficPolicies that produced the
current response.public String toString()
toString in class ObjectObject.toString()public ListTrafficPoliciesResult clone()
Copyright © 2015. All rights reserved.