@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTrafficPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A complex type that contains the response information for the request.
Constructor and Description |
---|
ListTrafficPoliciesResult() |
Modifier and Type | Method and 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 the
MaxItems parameter in the ListTrafficPolicies
request that produced the current response. |
String |
getTrafficPolicyIdMarker()
If the value of
IsTruncated is true , TrafficPolicyIdMarker is the ID of
the first traffic policy in the next group of MaxItems traffic policies. |
List<TrafficPolicySummary> |
getTrafficPolicySummaries()
A list that contains one
TrafficPolicySummary element for each traffic policy that was created by
the current Amazon Web Services 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 the
MaxItems parameter in the ListTrafficPolicies
request that produced the current response. |
void |
setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncated is true , TrafficPolicyIdMarker is the ID of
the first traffic policy in the next group of MaxItems traffic policies. |
void |
setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for each traffic policy that was created by
the current Amazon Web Services account. |
String |
toString()
Returns a string representation of this object.
|
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 the
MaxItems parameter in the ListTrafficPolicies
request that produced the current response. |
ListTrafficPoliciesResult |
withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of
IsTruncated is true , TrafficPolicyIdMarker is the ID of
the first traffic policy in the next group of MaxItems traffic policies. |
ListTrafficPoliciesResult |
withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for each traffic policy that was created by
the current Amazon Web Services account. |
ListTrafficPoliciesResult |
withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains one
TrafficPolicySummary element for each traffic policy that was created by
the current Amazon Web Services account. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TrafficPolicySummary> getTrafficPolicySummaries()
A list that contains one TrafficPolicySummary
element for each traffic policy that was created by
the current Amazon Web Services account.
TrafficPolicySummary
element for each traffic policy that was
created by the current Amazon Web Services account.public void setTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one TrafficPolicySummary
element for each traffic policy that was created by
the current Amazon Web Services account.
trafficPolicySummaries
- A list that contains one TrafficPolicySummary
element for each traffic policy that was
created by the current Amazon Web Services account.public ListTrafficPoliciesResult withTrafficPolicySummaries(TrafficPolicySummary... trafficPolicySummaries)
A list that contains one TrafficPolicySummary
element for each traffic policy that was created by
the current Amazon Web Services account.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficPolicySummaries(java.util.Collection)
or
withTrafficPolicySummaries(java.util.Collection)
if you want to override the existing values.
trafficPolicySummaries
- A list that contains one TrafficPolicySummary
element for each traffic policy that was
created by the current Amazon Web Services account.public ListTrafficPoliciesResult withTrafficPolicySummaries(Collection<TrafficPolicySummary> trafficPolicySummaries)
A list that contains one TrafficPolicySummary
element for each traffic policy that was created by
the current Amazon Web Services account.
trafficPolicySummaries
- A list that contains one TrafficPolicySummary
element for each traffic policy that was
created by the current Amazon Web Services account.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 traffic policies by submitting another ListTrafficPolicies
request and
specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request
parameter.
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 traffic policies by submitting another ListTrafficPolicies
request and specifying the value of TrafficPolicyIdMarker
in the
TrafficPolicyIdMarker
request parameter.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 traffic policies by submitting another ListTrafficPolicies
request and
specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request
parameter.
ListTrafficPolicies
request and specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request parameter.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 traffic policies by submitting another ListTrafficPolicies
request and
specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request
parameter.
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 traffic policies by submitting another ListTrafficPolicies
request and specifying the value of TrafficPolicyIdMarker
in the
TrafficPolicyIdMarker
request parameter.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 traffic policies by submitting another ListTrafficPolicies
request and
specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request
parameter.
ListTrafficPolicies
request and specifying the value of TrafficPolicyIdMarker
in the TrafficPolicyIdMarker
request parameter.public void setTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of IsTruncated
is true
, TrafficPolicyIdMarker
is the ID of
the first traffic policy in the next group of MaxItems
traffic policies.
trafficPolicyIdMarker
- If the value of IsTruncated
is true
, TrafficPolicyIdMarker
is the
ID of the first traffic policy in the next group of MaxItems
traffic policies.public String getTrafficPolicyIdMarker()
If the value of IsTruncated
is true
, TrafficPolicyIdMarker
is the ID of
the first traffic policy in the next group of MaxItems
traffic policies.
IsTruncated
is true
, TrafficPolicyIdMarker
is the
ID of the first traffic policy in the next group of MaxItems
traffic policies.public ListTrafficPoliciesResult withTrafficPolicyIdMarker(String trafficPolicyIdMarker)
If the value of IsTruncated
is true
, TrafficPolicyIdMarker
is the ID of
the first traffic policy in the next group of MaxItems
traffic policies.
trafficPolicyIdMarker
- If the value of IsTruncated
is true
, TrafficPolicyIdMarker
is the
ID of the first traffic policy in the next group of MaxItems
traffic policies.public void setMaxItems(String maxItems)
The value that you specified for the MaxItems
parameter in the ListTrafficPolicies
request that produced the current response.
maxItems
- The value that you specified for the MaxItems
parameter in the
ListTrafficPolicies
request that produced the current response.public String getMaxItems()
The value that you specified for the MaxItems
parameter in the ListTrafficPolicies
request that produced the current response.
MaxItems
parameter in the
ListTrafficPolicies
request that produced the current response.public ListTrafficPoliciesResult withMaxItems(String maxItems)
The value that you specified for the MaxItems
parameter in the ListTrafficPolicies
request that produced the current response.
maxItems
- The value that you specified for the MaxItems
parameter in the
ListTrafficPolicies
request that produced the current response.public String toString()
toString
in class Object
Object.toString()
public ListTrafficPoliciesResult clone()