Class ListDistributionsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudfront.model.ListDistributionsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListDistributionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to list your distributions.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListDistributionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDistributionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetMarker()Use Marker and MaxItems to control pagination of results.StringgetMaxItems()The maximum number of distributions that you want CloudFront to return in the response body.inthashCode()voidsetMarker(String marker)Use Marker and MaxItems to control pagination of results.voidsetMaxItems(String maxItems)The maximum number of distributions that you want CloudFront to return in the response body.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDistributionsRequestwithMarker(String marker)Use Marker and MaxItems to control pagination of results.ListDistributionsRequestwithMaxItems(String maxItems)The maximum number of distributions that you want CloudFront to return in the response body.-
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
-
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)- Parameters:
marker- Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
-
getMarker
public String getMarker()
Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)- Returns:
- Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)
-
withMarker
public ListDistributionsRequest withMarker(String marker)
Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)- Parameters:
marker- Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
public void setMaxItems(String maxItems)
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.- Parameters:
maxItems- The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
-
getMaxItems
public String getMaxItems()
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.- Returns:
- The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.
-
withMaxItems
public ListDistributionsRequest withMaxItems(String maxItems)
The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.- Parameters:
maxItems- The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.- 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 ListDistributionsRequest 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:
Object.clone()
-
-