@Generated(value="software.amazon.awssdk:codegen") public final class ListVersionsRequest extends OpenSearchRequest implements ToCopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>
Container for the request parameters to the ListVersions operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListVersionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListVersionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
nextToken()
If your initial
ListVersions operation returns a nextToken, you can include the
returned nextToken in subsequent ListVersions operations, which returns results in the
next page. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListVersionsRequest.Builder> |
serializableBuilderClass() |
ListVersionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer maxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results.
nextToken to get the next page of results.public final String nextToken()
If your initial ListVersions operation returns a nextToken, you can include the
returned nextToken in subsequent ListVersions operations, which returns results in the
next page.
ListVersions operation returns a nextToken, you can include the
returned nextToken in subsequent ListVersions operations, which returns results
in the next page.public ListVersionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>toBuilder in class OpenSearchRequestpublic static ListVersionsRequest.Builder builder()
public static Class<? extends ListVersionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.