Class PersistentTaskStatus.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.shutdown.get_node.PersistentTaskStatus.Builder
-
- All Implemented Interfaces:
ObjectBuilder<PersistentTaskStatus>
- Enclosing class:
- PersistentTaskStatus
public static class PersistentTaskStatus.Builder extends ObjectBuilderBase implements ObjectBuilder<PersistentTaskStatus>
Builder forPersistentTaskStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentTaskStatus
build()
Builds aPersistentTaskStatus
.PersistentTaskStatus.Builder
status(ShutdownStatus value)
Required - API name:status
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
status
public final PersistentTaskStatus.Builder status(ShutdownStatus value)
Required - API name:status
-
build
public PersistentTaskStatus build()
Builds aPersistentTaskStatus
.- Specified by:
build
in interfaceObjectBuilder<PersistentTaskStatus>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-