Interface GetCompatibleVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCompatibleVersionsResponse.Builder,GetCompatibleVersionsResponse>,OpenSearchResponse.Builder,SdkBuilder<GetCompatibleVersionsResponse.Builder,GetCompatibleVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCompatibleVersionsResponse
@Mutable @NotThreadSafe public static interface GetCompatibleVersionsResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetCompatibleVersionsResponse.Builder,GetCompatibleVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCompatibleVersionsResponse.BuildercompatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.GetCompatibleVersionsResponse.BuildercompatibleVersions(Consumer<CompatibleVersionsMap.Builder>... compatibleVersions)A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.GetCompatibleVersionsResponse.BuildercompatibleVersions(CompatibleVersionsMap... compatibleVersions)A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
compatibleVersions
GetCompatibleVersionsResponse.Builder compatibleVersions(Collection<CompatibleVersionsMap> compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
- Parameters:
compatibleVersions- A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleVersions
GetCompatibleVersionsResponse.Builder compatibleVersions(CompatibleVersionsMap... compatibleVersions)
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
- Parameters:
compatibleVersions- A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleVersions
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.Builderavoiding the need to create one manually viaCompatibleVersionsMap.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#compatibleVersions(List.) - Parameters:
compatibleVersions- a consumer that will call methods onCompatibleVersionsMap.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#compatibleVersions(java.util.Collection)
-
-