Class ListTrafficPolicyVersionsResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.ListTrafficPolicyVersionsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTrafficPolicyVersionsResult extends Object implements Serializable, Cloneable
A complex type that contains the response information for the request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTrafficPolicyVersionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.List<TrafficPolicy>
getTrafficPolicies()
A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.String
getTrafficPolicyVersionMarker()
IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
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 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.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 themaxitems
parameter in the call toListTrafficPolicyVersions
that produced the current response.ListTrafficPolicyVersionsResult
withTrafficPolicies(TrafficPolicy... trafficPolicies)
A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.ListTrafficPolicyVersionsResult
withTrafficPolicies(Collection<TrafficPolicy> trafficPolicies)
A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.ListTrafficPolicyVersionsResult
withTrafficPolicyVersionMarker(String trafficPolicyVersionMarker)
IfIsTruncated
istrue
, the value ofTrafficPolicyVersionMarker
identifies the first traffic policy in the next group ofMaxItems
traffic policies.
-
-
-
Method Detail
-
getTrafficPolicies
public List<TrafficPolicy> 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
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.- Parameters:
trafficPolicies
- A list that contains oneTrafficPolicy
element for each traffic policy version that is associated with the specified traffic policy.
-
withTrafficPolicies
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)
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
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 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
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 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
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 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
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 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
public void setTrafficPolicyVersionMarker(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
.
-
getTrafficPolicyVersionMarker
public String 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
public void setMaxItems(String maxItems)
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
public String 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
public ListTrafficPolicyVersionsResult withMaxItems(String maxItems)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTrafficPolicyVersionsResult clone()
-
-