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 ListTrafficPoliciesResult
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 toListTrafficPolicies
that produced the current response.String
getTrafficPolicyIdMarker()
If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.List<TrafficPolicySummary>
getTrafficPolicySummaries()
A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current AWS account.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 toListTrafficPolicies
that produced the current response.void
setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.void
setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current AWS account.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTrafficPoliciesResult
withIsTruncated(Boolean isTruncated)
A flag that indicates whether there are more traffic policies to be listed.ListTrafficPoliciesResult
withMaxItems(String maxItems)
The value that you specified for theMaxItems
parameter in the call toListTrafficPolicies
that produced the current response.ListTrafficPoliciesResult
withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.ListTrafficPoliciesResult
withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current AWS account.ListTrafficPoliciesResult
withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current AWS account.
-
-
-
Method Detail
-
getTrafficPolicySummaries
public List<TrafficPolicySummary> getTrafficPolicySummaries()
A list that contains one
TrafficPolicySummary
element for each traffic policy that was created by the current AWS account.- Returns:
- A list that contains one
TrafficPolicySummary
element for each traffic policy that was created by the current AWS account.
-
setTrafficPolicySummaries
public void setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary
element for each traffic policy that was created by the current AWS account.- Parameters:
trafficPolicySummaries
- A list that contains oneTrafficPolicySummary
element for each traffic policy that was created by the current AWS account.
-
withTrafficPolicySummaries
public ListTrafficPoliciesResult withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains one
TrafficPolicySummary
element 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 oneTrafficPolicySummary
element 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
TrafficPolicySummary
element for each traffic policy that was created by the current AWS account.- Parameters:
trafficPolicySummaries
- A list that contains oneTrafficPolicySummary
element 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
MaxItems
traffic policies by callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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
MaxItems
traffic policies by callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request 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 callingListTrafficPolicies
again and specifying the value of theTrafficPolicyIdMarker
element in theTrafficPolicyIdMarker
request parameter.Valid Values:
true
|false
-
setTrafficPolicyIdMarker
public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
trafficPolicyIdMarker
- If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
getTrafficPolicyIdMarker
public String getTrafficPolicyIdMarker()
If the value of
IsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Returns:
- If the value of
IsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
withTrafficPolicyIdMarker
public ListTrafficPoliciesResult withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
trafficPolicyIdMarker
- If the value ofIsTruncated
istrue
,TrafficPolicyIdMarker
is the ID of the first traffic policy in the next group ofMaxItems
traffic 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
MaxItems
parameter in the call toListTrafficPolicies
that produced the current response.- Parameters:
maxItems
- The value that you specified for theMaxItems
parameter in the call toListTrafficPolicies
that produced the current response.
-
getMaxItems
public String getMaxItems()
The value that you specified for the
MaxItems
parameter in the call toListTrafficPolicies
that produced the current response.- Returns:
- The value that you specified for the
MaxItems
parameter in the call toListTrafficPolicies
that produced the current response.
-
withMaxItems
public ListTrafficPoliciesResult withMaxItems(String maxItems)
The value that you specified for the
MaxItems
parameter in the call toListTrafficPolicies
that produced the current response.- Parameters:
maxItems
- The value that you specified for theMaxItems
parameter in the call toListTrafficPolicies
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 ListTrafficPoliciesResult clone()
-
-