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()
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)
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)
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.
Returns a reference to this object so that method calls can be chained together.
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)
TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy.
Returns a reference to this object so that method calls can be chained together.
trafficPolicies - A list that contains one TrafficPolicy element for each
traffic policy version that is associated with the specified traffic
policy.public Boolean isTruncated()
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 setIsTruncated(Boolean isTruncated)
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 ListTrafficPolicyVersionsResult withIsTruncated(Boolean isTruncated)
maxitems traffic policies by calling
ListTrafficPolicyVersions again and specifying the value
of the NextMarker element in the marker 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
ListTrafficPolicyVersions again and specifying the value
of the NextMarker element in the marker parameter.
Valid Values: true | false
public Boolean getIsTruncated()
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 String getTrafficPolicyVersionMarker()
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.
Constraints:
Length: 0 - 4
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 setTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
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.
Constraints:
Length: 0 - 4
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 ListTrafficPolicyVersionsResult withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4
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 getMaxItems()
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 void setMaxItems(String maxItems)
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 ListTrafficPolicyVersionsResult withMaxItems(String maxItems)
maxitems parameter
in the call to ListTrafficPolicyVersions 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 ListTrafficPolicyVersions that produced
the current response.public String toString()
toString in class ObjectObject.toString()public ListTrafficPolicyVersionsResult clone()
Copyright © 2015. All rights reserved.