public class ListTrafficPoliciesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains the response information for the request.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
isTruncated
A flag that indicates whether there are more traffic policies to be
listed.
|
private java.lang.String |
maxItems
The value that you specified for the
MaxItems parameter in
the call to ListTrafficPolicies that produced the current
response. |
private java.lang.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. |
private SdkInternalList<TrafficPolicySummary> |
trafficPolicySummaries
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
Constructor and Description |
---|
ListTrafficPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListTrafficPoliciesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsTruncated()
A flag that indicates whether there are more traffic policies to be
listed.
|
java.lang.String |
getMaxItems()
The value that you specified for the
MaxItems parameter in
the call to ListTrafficPolicies that produced the current
response. |
java.lang.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. |
java.util.List<TrafficPolicySummary> |
getTrafficPolicySummaries()
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
int |
hashCode() |
java.lang.Boolean |
isTruncated()
A flag that indicates whether there are more traffic policies to be
listed.
|
void |
setIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
void |
setMaxItems(java.lang.String maxItems)
The value that you specified for the
MaxItems parameter in
the call to ListTrafficPolicies that produced the current
response. |
void |
setTrafficPolicyIdMarker(java.lang.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(java.util.Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for
each traffic policy that was created by the current AWS account. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPoliciesResult |
withIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
ListTrafficPoliciesResult |
withMaxItems(java.lang.String maxItems)
The value that you specified for the
MaxItems parameter in
the call to ListTrafficPolicies that produced the current
response. |
ListTrafficPoliciesResult |
withTrafficPolicyIdMarker(java.lang.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(java.util.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. |
private SdkInternalList<TrafficPolicySummary> trafficPolicySummaries
A list that contains one TrafficPolicySummary
element for
each traffic policy that was created by the current AWS account.
private java.lang.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
private java.lang.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.
private java.lang.String maxItems
The value that you specified for the MaxItems
parameter in
the call to ListTrafficPolicies
that produced the current
response.
public java.util.List<TrafficPolicySummary> getTrafficPolicySummaries()
A list that contains one 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(java.util.Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one 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)
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.
trafficPolicySummaries
- A list that contains one TrafficPolicySummary
element
for each traffic policy that was created by the current AWS
account.public ListTrafficPoliciesResult withTrafficPolicySummaries(java.util.Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one 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 void setIsTruncated(java.lang.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
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 java.lang.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
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(java.lang.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
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 java.lang.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
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 setTrafficPolicyIdMarker(java.lang.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.
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 java.lang.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.
IsTruncated
is true
,
TrafficPolicyIdMarker
is the ID of the first traffic
policy in the next group of MaxItems
traffic
policies.public ListTrafficPoliciesResult withTrafficPolicyIdMarker(java.lang.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.
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 void setMaxItems(java.lang.String maxItems)
The value that you specified for the 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 java.lang.String getMaxItems()
The value that you specified for the 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 ListTrafficPoliciesResult withMaxItems(java.lang.String maxItems)
The value that you specified for the 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListTrafficPoliciesResult clone()
clone
in class java.lang.Object