Interface ListVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListVersionsRequest.Builder,,ListVersionsRequest> OpenSearchRequest.Builder,SdkBuilder<ListVersionsRequest.Builder,,ListVersionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListVersionsRequest
@Mutable
@NotThreadSafe
public static interface ListVersionsRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<ListVersionsRequest.Builder,ListVersionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialListVersionsoperation returns anextToken, you can include the returnednextTokenin subsequentListVersionsoperations, which returns results in the next page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results.- Parameters:
maxResults- An optional parameter that specifies the maximum number of results to return. You can usenextTokento get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial
ListVersionsoperation returns anextToken, you can include the returnednextTokenin subsequentListVersionsoperations, which returns results in the next page.- Parameters:
nextToken- If your initialListVersionsoperation returns anextToken, you can include the returnednextTokenin subsequentListVersionsoperations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-