public class ListInvalidationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListInvalidations operation
.
List invalidation batches.
NOOP
Constructor and Description |
---|
ListInvalidationsRequest()
Default constructor for a new ListInvalidationsRequest object.
|
ListInvalidationsRequest(String distributionId)
Constructs a new ListInvalidationsRequest object.
|
Modifier and Type | Method and Description |
---|---|
ListInvalidationsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDistributionId()
The distribution's id.
|
String |
getMarker()
Use this parameter when paginating results to indicate where to begin
in your list of invalidation batches.
|
String |
getMaxItems()
The maximum number of invalidation batches you want in the response
body.
|
int |
hashCode() |
void |
setDistributionId(String distributionId)
The distribution's id.
|
void |
setMarker(String marker)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListInvalidationsRequest |
withDistributionId(String distributionId)
The distribution's id.
|
ListInvalidationsRequest |
withMarker(String marker)
Use this parameter when paginating results to indicate where to begin
in your list of invalidation batches.
|
ListInvalidationsRequest |
withMaxItems(String maxItems)
The maximum number of invalidation batches you want in the response
body.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public ListInvalidationsRequest()
public ListInvalidationsRequest(String distributionId)
distributionId
- The distribution's id.public String getDistributionId()
public void setDistributionId(String distributionId)
distributionId
- The distribution's id.public ListInvalidationsRequest withDistributionId(String distributionId)
Returns a reference to this object so that method calls can be chained together.
distributionId
- The distribution's id.public String getMarker()
public void setMarker(String marker)
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.public ListInvalidationsRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
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.public String getMaxItems()
public void setMaxItems(String maxItems)
maxItems
- The maximum number of invalidation batches you want in the response
body.public ListInvalidationsRequest withMaxItems(String maxItems)
Returns a reference to this object so that method calls can be chained together.
maxItems
- The maximum number of invalidation batches you want in the response
body.public String toString()
toString
in class Object
Object.toString()
public ListInvalidationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.