Class GetUpgradeRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.GetUpgradeRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GetUpgradeRequest>
- Enclosing class:
- GetUpgradeRequest
public static class GetUpgradeRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetUpgradeRequest>
Builder forGetUpgradeRequest.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetUpgradeRequestbuild()Builds aGetUpgradeRequest.GetUpgradeRequest.Builderindex(java.lang.String value)A comma-separated list of index names; use_allor empty string to perform the operation on all indices-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
index
public final GetUpgradeRequest.Builder index(@Nullable java.lang.String value)
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index
-
build
public GetUpgradeRequest build()
Builds aGetUpgradeRequest.- Specified by:
buildin interfaceObjectBuilder<GetUpgradeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-