public class ListTrafficPolicyVersionsResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the request.
Constructor and Description |
---|
ListTrafficPolicyVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListTrafficPolicyVersionsResult |
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 ListTrafficPolicyVersions that produced the
current response. |
List<TrafficPolicy> |
getTrafficPolicies()
A list that contains one
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy. |
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() |
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 ListTrafficPolicyVersions that produced the
current response. |
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. |
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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyVersionsResult |
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be
listed.
|
ListTrafficPolicyVersionsResult |
withMaxItems(String maxItems)
The value that you specified for the
maxitems parameter in
the call to ListTrafficPolicyVersions that produced the
current response. |
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. |
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(String trafficPolicyVersionMarker)
If
IsTruncated is true , the value of
TrafficPolicyVersionMarker identifies the first traffic
policy in the next group of MaxItems traffic policies. |
public 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(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(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(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 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(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 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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public ListTrafficPolicyVersionsResult clone()
Copyright © 2018. All rights reserved.