Interface ListVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListVersionsResponse.Builder,,ListVersionsResponse> OpenSearchResponse.Builder,SdkBuilder<ListVersionsResponse.Builder,,ListVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListVersionsResponse
public static interface ListVersionsResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListVersionsResponse.Builder,ListVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhennextTokenis returned, there are more results available.A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.versions(Collection<String> versions) A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
versions
A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
- Parameters:
versions- A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
- Parameters:
versions- A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-