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 AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe maximum number of traffic policies to be included in the response body for this request.For your first request toListTrafficPolicies, do not include theTrafficPolicyIdMarkerparameter.inthashCode()voidsetMaxItems(String maxItems) The maximum number of traffic policies to be included in the response body for this request.voidsetTrafficPolicyIdMarker(String trafficPolicyIdMarker) For your first request toListTrafficPolicies, do not include theTrafficPolicyIdMarkerparameter.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 theTrafficPolicyIdMarkerparameter.Methods inherited from class 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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 theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group ofMaxItemspolicies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value of theTrafficPolicyIdMarkerelement 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
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
maxItems- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.
-
getMaxItems
The maximum number of traffic policies to be included in the response body for this request. If you have more than
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Returns:
- The maximum number of traffic policies to be included in the
response body for this request. If you have more than
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.
-
withMaxItems
The maximum number of traffic policies to be included in the response body for this request. If you have more than
MaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is the ID of the first traffic policy in the next group ofMaxItemstraffic policies.- Parameters:
maxItems- The maximum number of traffic policies to be included in the response body for this request. If you have more thanMaxItemstraffic policies, the value of theIsTruncatedelement in the response istrue, and the value of theTrafficPolicyIdMarkerelement is 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.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-