public class ListTrafficPolicyVersionsResult
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 ListTrafficPolicyVersions that produced the
current response. |
private SdkInternalList<TrafficPolicy> |
trafficPolicies
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
private java.lang.String |
trafficPolicyVersionMarker
If
IsTruncated is true , the value of
TrafficPolicyVersionMarker identifies the first traffic
policy in the next group of MaxItems traffic policies. |
Constructor and Description |
---|
ListTrafficPolicyVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListTrafficPolicyVersionsResult |
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 ListTrafficPolicyVersions that produced the
current response. |
java.util.List<TrafficPolicy> |
getTrafficPolicies()
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
java.lang.String |
getTrafficPolicyVersionMarker()
If
IsTruncated is true , the value of
TrafficPolicyVersionMarker identifies the first traffic
policy in the next group of MaxItems traffic policies. |
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 ListTrafficPolicyVersions that produced the
current response. |
void |
setTrafficPolicies(java.util.Collection<TrafficPolicy> trafficPolicies)
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
void |
setTrafficPolicyVersionMarker(java.lang.String trafficPolicyVersionMarker)
If
IsTruncated is true , the value of
TrafficPolicyVersionMarker identifies the first traffic
policy in the next group of MaxItems traffic policies. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyVersionsResult |
withIsTruncated(java.lang.Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
ListTrafficPolicyVersionsResult |
withMaxItems(java.lang.String maxItems)
The value that you specified for the
maxitems parameter in
the call to ListTrafficPolicyVersions that produced the
current response. |
ListTrafficPolicyVersionsResult |
withTrafficPolicies(java.util.Collection<TrafficPolicy> trafficPolicies)
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
ListTrafficPolicyVersionsResult |
withTrafficPolicies(TrafficPolicy... trafficPolicies)
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
ListTrafficPolicyVersionsResult |
withTrafficPolicyVersionMarker(java.lang.String trafficPolicyVersionMarker)
If
IsTruncated is true , the value of
TrafficPolicyVersionMarker identifies the first traffic
policy in the next group of MaxItems traffic policies. |
private SdkInternalList<TrafficPolicy> trafficPolicies
A list that contains one TrafficPolicy
element for each
traffic policy version that is associated with the specified traffic
policy.
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
ListTrafficPolicyVersions
again and specifying the value of
the NextMarker
element in the marker parameter.
Valid Values: true
| false
private java.lang.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
.
private java.lang.String maxItems
The value that you specified for the maxitems
parameter in
the call to ListTrafficPolicyVersions
that produced the
current response.
public java.util.List<TrafficPolicy> getTrafficPolicies()
A list that contains one TrafficPolicy
element for each
traffic policy version that is associated with the specified traffic
policy.
TrafficPolicy
element for
each traffic policy version that is associated with the specified
traffic policy.public void setTrafficPolicies(java.util.Collection<TrafficPolicy> trafficPolicies)
A list that contains one TrafficPolicy
element for each
traffic policy version that is associated with the specified traffic
policy.
trafficPolicies
- A list that contains one TrafficPolicy
element for
each traffic policy version that is associated with the specified
traffic policy.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.
trafficPolicies
- A list that contains one TrafficPolicy
element for
each traffic policy version that is associated with the specified
traffic policy.public ListTrafficPolicyVersionsResult withTrafficPolicies(java.util.Collection<TrafficPolicy> trafficPolicies)
A list that contains one TrafficPolicy
element for each
traffic policy version that is associated with the specified traffic
policy.
trafficPolicies
- A list that contains one TrafficPolicy
element for
each traffic policy version that is associated with the specified
traffic policy.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
ListTrafficPolicyVersions
again and specifying the value of
the NextMarker
element in the marker 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
ListTrafficPolicyVersions
again and specifying the
value of the NextMarker
element in the marker
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
ListTrafficPolicyVersions
again and specifying the value of
the NextMarker
element in the marker parameter.
Valid Values: true
| false
maxitems
traffic policies by calling
ListTrafficPolicyVersions
again and specifying the
value of the NextMarker
element in the marker
parameter.
Valid Values: true
| false
public ListTrafficPolicyVersionsResult 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
ListTrafficPolicyVersions
again and specifying the value of
the NextMarker
element in the marker 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
ListTrafficPolicyVersions
again and specifying the
value of the NextMarker
element in the marker
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
ListTrafficPolicyVersions
again and specifying the value of
the NextMarker
element in the marker parameter.
Valid Values: true
| false
maxitems
traffic policies by calling
ListTrafficPolicyVersions
again and specifying the
value of the NextMarker
element in the marker
parameter.
Valid Values: true
| false
public void setTrafficPolicyVersionMarker(java.lang.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
.
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
.
public java.lang.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
.
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
.
public ListTrafficPolicyVersionsResult withTrafficPolicyVersionMarker(java.lang.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
.
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
.
public void setMaxItems(java.lang.String maxItems)
The value that you specified for the maxitems
parameter in
the call to ListTrafficPolicyVersions
that produced the
current response.
maxItems
- The value that you specified for the maxitems
parameter in the call to ListTrafficPolicyVersions
that produced the current response.public java.lang.String getMaxItems()
The value that you specified for the maxitems
parameter in
the call to ListTrafficPolicyVersions
that produced the
current response.
maxitems
parameter in the call to ListTrafficPolicyVersions
that produced the current response.public ListTrafficPolicyVersionsResult withMaxItems(java.lang.String maxItems)
The value that you specified for the maxitems
parameter in
the call to ListTrafficPolicyVersions
that produced the
current response.
maxItems
- The value that you specified for the maxitems
parameter in the call to ListTrafficPolicyVersions
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 ListTrafficPolicyVersionsResult clone()
clone
in class java.lang.Object