Class ListTrafficPoliciesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The maximum number of traffic policies to be included in the response body for this request.For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.int
hashCode()
void
setMaxItems
(String maxItems) The maximum number of traffic policies to be included in the response body for this request.void
setTrafficPolicyIdMarker
(String trafficPolicyIdMarker) For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.toString()
Returns a string representation of this object; useful for testing and debugging.withMaxItems
(String maxItems) The maximum number of traffic policies to be included in the response body for this request.withTrafficPolicyIdMarker
(String trafficPolicyIdMarker) For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListTrafficPoliciesRequest
public ListTrafficPoliciesRequest()
-
-
Method Details
-
setTrafficPolicyIdMarker
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Parameters:
trafficPolicyIdMarker
- For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
-
getTrafficPolicyIdMarker
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Returns:
- For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
-
withTrafficPolicyIdMarker
For your first request to
ListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Parameters:
trafficPolicyIdMarker
- For your first request toListTrafficPolicies
, do not include theTrafficPolicyIdMarker
parameter.If you have more traffic policies than the value of
MaxItems
,ListTrafficPolicies
returns only the firstMaxItems
traffic policies. To get the next group ofMaxItems
policies, submit another request toListTrafficPolicies
. For the value ofTrafficPolicyIdMarker
, specify the value of theTrafficPolicyIdMarker
element that was returned in the previous response.Policies are listed in the order in which they were created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
The maximum number of traffic policies to be included in the response body for this request. If you have more than
MaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
maxItems
- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
getMaxItems
The maximum number of traffic policies to be included in the response body for this request. If you have more than
MaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Returns:
- The maximum number of traffic policies to be included in the
response body for this request. If you have more than
MaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.
-
withMaxItems
The maximum number of traffic policies to be included in the response body for this request. If you have more than
MaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element is the ID of the first traffic policy in the next group ofMaxItems
traffic policies.- Parameters:
maxItems
- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItems
traffic policies, the value of theIsTruncated
element in the response istrue
, and the value of theTrafficPolicyIdMarker
element 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-