Class ListInvalidationsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudfront.model.ListInvalidationsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListInvalidationsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
The request to list invalidations.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ListInvalidationsRequest object.ListInvalidationsRequest
(String distributionId) Constructs a new ListInvalidationsRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The distribution's id.Use this parameter when paginating results to indicate where to begin in your list of invalidation batches.The maximum number of invalidation batches you want in the response body.int
hashCode()
void
setDistributionId
(String distributionId) The distribution's id.void
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches.void
setMaxItems
(String maxItems) The maximum number of invalidation batches you want in the response body.toString()
Returns a string representation of this object; useful for testing and debugging.withDistributionId
(String distributionId) The distribution's id.withMarker
(String marker) Use this parameter when paginating results to indicate where to begin in your list of invalidation batches.withMaxItems
(String maxItems) The maximum number of invalidation batches you want 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
-
Constructor Details
-
ListInvalidationsRequest
public ListInvalidationsRequest()Default constructor for ListInvalidationsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ListInvalidationsRequest
Constructs a new ListInvalidationsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
distributionId
- The distribution's id.
-
-
Method Details
-
setDistributionId
The distribution's id.- Parameters:
distributionId
- The distribution's id.
-
getDistributionId
The distribution's id.- Returns:
- The distribution's id.
-
withDistributionId
The distribution's id.- Parameters:
distributionId
- The distribution's id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.- Parameters:
marker
- Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
-
getMarker
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.- Returns:
- Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
-
withMarker
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.- Parameters:
marker
- Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
The maximum number of invalidation batches you want in the response body.- Parameters:
maxItems
- The maximum number of invalidation batches you want in the response body.
-
getMaxItems
The maximum number of invalidation batches you want in the response body.- Returns:
- The maximum number of invalidation batches you want in the response body.
-
withMaxItems
The maximum number of invalidation batches you want in the response body.- Parameters:
maxItems
- The maximum number of invalidation batches you want in the response body.- 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:
-