@Generated(value="software.amazon.awssdk:codegen") public class ListInvalidationsRequest extends CloudFrontRequest implements ToCopyableBuilder<ListInvalidationsRequest.Builder,ListInvalidationsRequest>
The request to list invalidations.
Modifier and Type | Class and Description |
---|---|
static interface |
ListInvalidationsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListInvalidationsRequest.Builder |
builder() |
String |
distributionId()
The distribution's ID.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
marker()
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches.
|
String |
maxItems()
The maximum number of invalidation batches that you want in the response body.
|
static Class<? extends ListInvalidationsRequest.Builder> |
serializableBuilderClass() |
ListInvalidationsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String distributionId()
The distribution's ID.
public String 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
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.
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 maxItems()
The maximum number of invalidation batches that you want in the response body.
public ListInvalidationsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListInvalidationsRequest.Builder,ListInvalidationsRequest>
toBuilder
in class CloudFrontRequest
public static ListInvalidationsRequest.Builder builder()
public static Class<? extends ListInvalidationsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.