Class ListTrafficPoliciesResult
- java.lang.Object
-
- com.amazonaws.services.route53.model.ListTrafficPoliciesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListTrafficPoliciesResult 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 ListTrafficPoliciesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTrafficPoliciesResultclone()booleanequals(Object obj)BooleangetIsTruncated()A flag that indicates whether there are more traffic policies to be listed.StringgetMaxItems()The value that you specified for theMaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.StringgetTrafficPolicyIdMarker()If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.List<TrafficPolicySummary>getTrafficPolicySummaries()A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.inthashCode()BooleanisTruncated()A flag that indicates whether there are more traffic policies to be listed.voidsetIsTruncated(Boolean isTruncated)A flag that indicates whether there are more traffic policies to be listed.voidsetMaxItems(String maxItems)The value that you specified for theMaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.voidsetTrafficPolicyIdMarker(String trafficPolicyIdMarker)If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.voidsetTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListTrafficPoliciesResultwithIsTruncated(Boolean isTruncated)A flag that indicates whether there are more traffic policies to be listed.ListTrafficPoliciesResultwithMaxItems(String maxItems)The value that you specified for theMaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.ListTrafficPoliciesResultwithTrafficPolicyIdMarker(String trafficPolicyIdMarker)If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.ListTrafficPoliciesResultwithTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.ListTrafficPoliciesResultwithTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.
-
-
-
Method Detail
-
getTrafficPolicySummaries
public List<TrafficPolicySummary> getTrafficPolicySummaries()
A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.- Returns:
- A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.
-
setTrafficPolicySummaries
public void setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.- Parameters:
trafficPolicySummaries- A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.
-
withTrafficPolicySummaries
public ListTrafficPoliciesResult withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.NOTE: This method appends the values to the existing list (if any). Use
setTrafficPolicySummaries(java.util.Collection)orwithTrafficPolicySummaries(java.util.Collection)if you want to override the existing values.- Parameters:
trafficPolicySummaries- A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTrafficPolicySummaries
public ListTrafficPoliciesResult withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.- Parameters:
trafficPolicySummaries- A list that contains oneTrafficPolicySummaryelement for each traffic policy that was created by the current AWS account.- 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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 ofMaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest parameter.Valid Values:
true|false
-
withIsTruncated
public ListTrafficPoliciesResult 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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 ofMaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest 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
MaxItemstraffic policies by callingListTrafficPoliciesagain and specifying the value of theTrafficPolicyIdMarkerelement in theTrafficPolicyIdMarkerrequest parameter.Valid Values:
true|false
-
setTrafficPolicyIdMarker
public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
trafficPolicyIdMarker- If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.
-
getTrafficPolicyIdMarker
public String getTrafficPolicyIdMarker()
If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Returns:
- If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.
-
withTrafficPolicyIdMarker
public ListTrafficPoliciesResult withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
trafficPolicyIdMarker- If the value ofIsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- 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
MaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.- Parameters:
maxItems- The value that you specified for theMaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.
-
getMaxItems
public String getMaxItems()
The value that you specified for the
MaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.- Returns:
- The value that you specified for the
MaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.
-
withMaxItems
public ListTrafficPoliciesResult withMaxItems(String maxItems)
The value that you specified for the
MaxItemsparameter in the call toListTrafficPoliciesthat produced the current response.- Parameters:
maxItems- The value that you specified for theMaxItemsparameter in the call toListTrafficPoliciesthat 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTrafficPoliciesResult clone()
-
-