Interface GetCompatibleElasticsearchVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCompatibleElasticsearchVersionsResponse.Builder,GetCompatibleElasticsearchVersionsResponse>
,ElasticsearchResponse.Builder
,SdkBuilder<GetCompatibleElasticsearchVersionsResponse.Builder,GetCompatibleElasticsearchVersionsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetCompatibleElasticsearchVersionsResponse
public static interface GetCompatibleElasticsearchVersionsResponse.Builder extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<GetCompatibleElasticsearchVersionsResponse.Builder,GetCompatibleElasticsearchVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCompatibleElasticsearchVersionsResponse.Builder
compatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of theGetCompatibleElasticsearchVersions
operation.GetCompatibleElasticsearchVersionsResponse.Builder
compatibleElasticsearchVersions(Consumer<CompatibleVersionsMap.Builder>... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of theGetCompatibleElasticsearchVersions
operation.GetCompatibleElasticsearchVersionsResponse.Builder
compatibleElasticsearchVersions(CompatibleVersionsMap... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of theGetCompatibleElasticsearchVersions
operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.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
-
compatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResponse.Builder compatibleElasticsearchVersions(Collection<CompatibleVersionsMap> compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.- Parameters:
compatibleElasticsearchVersions
- A map of compatible Elasticsearch versions returned as part of theGetCompatibleElasticsearchVersions
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResponse.Builder compatibleElasticsearchVersions(CompatibleVersionsMap... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
GetCompatibleElasticsearchVersions
operation.- Parameters:
compatibleElasticsearchVersions
- A map of compatible Elasticsearch versions returned as part of theGetCompatibleElasticsearchVersions
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleElasticsearchVersions
GetCompatibleElasticsearchVersionsResponse.Builder compatibleElasticsearchVersions(Consumer<CompatibleVersionsMap.Builder>... compatibleElasticsearchVersions)
A map of compatible Elasticsearch versions returned as part of the
This is a convenience method that creates an instance of theGetCompatibleElasticsearchVersions
operation.CompatibleVersionsMap.Builder
avoiding the need to create one manually viaCompatibleVersionsMap.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#compatibleElasticsearchVersions(List
.) - Parameters:
compatibleElasticsearchVersions
- 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:
#compatibleElasticsearchVersions(java.util.Collection
)
-
-