Class ListTrafficPolicyVersionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contains the response information for the request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A flag that indicates whether there are more traffic policies to be listed.The value that you specified for themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies.int
hashCode()
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 themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.void
setTrafficPolicies
(Collection<TrafficPolicy> trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.void
setTrafficPolicyVersionMarker
(String trafficPolicyVersionMarker) IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies.toString()
Returns a string representation of this object; useful for testing and debugging.withIsTruncated
(Boolean isTruncated) A flag that indicates whether there are more traffic policies to be listed.withMaxItems
(String maxItems) The value that you specified for themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.withTrafficPolicies
(TrafficPolicy... trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.withTrafficPolicies
(Collection<TrafficPolicy> trafficPolicies) A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.withTrafficPolicyVersionMarker
(String trafficPolicyVersionMarker) IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies.
-
Constructor Details
-
ListTrafficPolicyVersionsResult
public ListTrafficPolicyVersionsResult()
-
-
Method Details
-
getTrafficPolicies
A list that contains one
TrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Returns:
- A list that contains one
TrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.
-
setTrafficPolicies
A list that contains one
TrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.
-
withTrafficPolicies
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)
orwithTrafficPolicies(java.util.Collection)
if you want to override the existing values.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTrafficPolicies
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.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsTruncated
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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
- Parameters:
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 ofmaxitems
traffic policies by callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
-
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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
- Returns:
- 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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
-
withIsTruncated
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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
- Parameters:
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 ofmaxitems
traffic policies by callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
- Returns:
- 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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
- Returns:
- 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 callingListTrafficPolicyVersions
again and specifying the value of theNextMarker
element in the marker parameter.Valid Values:
true
|false
-
setTrafficPolicyVersionMarker
If
IsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Parameters:
trafficPolicyVersionMarker
- IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.
-
getTrafficPolicyVersionMarker
If
IsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Returns:
- If
IsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.
-
withTrafficPolicyVersionMarker
public ListTrafficPolicyVersionsResult withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker) If
IsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Parameters:
trafficPolicyVersionMarker
- IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies. CallListTrafficPolicyVersions
again and specify the value ofTrafficPolicyVersionMarker
in theTrafficPolicyVersionMarker
request parameter.This element is present only if
IsTruncated
istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
The value that you specified for the
maxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.- Parameters:
maxItems
- The value that you specified for themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.
-
getMaxItems
The value that you specified for the
maxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.- Returns:
- The value that you specified for the
maxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.
-
withMaxItems
The value that you specified for the
maxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.- Parameters:
maxItems
- The value that you specified for themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-