public static interface GetCompatibleVersionsResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetCompatibleVersionsResponse.Builder,GetCompatibleVersionsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCompatibleVersionsResponse.Builder |
compatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
|
GetCompatibleVersionsResponse.Builder |
compatibleVersions(CompatibleVersionsMap... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
|
GetCompatibleVersionsResponse.Builder |
compatibleVersions(Consumer<CompatibleVersionsMap.Builder>... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCompatibleVersionsResponse.Builder compatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.GetCompatibleVersionsResponse.Builder compatibleVersions(CompatibleVersionsMap... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
compatibleVersions - A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.GetCompatibleVersionsResponse.Builder compatibleVersions(Consumer<CompatibleVersionsMap.Builder>... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
This is a convenience method that creates an instance of theCompatibleVersionsMap.Builder avoiding the need to
create one manually via
CompatibleVersionsMap.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #compatibleVersions(List.
compatibleVersions - a consumer that will call methods on
CompatibleVersionsMap.Builder#compatibleVersions(java.util.Collection) Copyright © 2022. All rights reserved.