Class PersistentTaskStatus.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.shutdown.get_node.PersistentTaskStatus.Builder
- All Implemented Interfaces:
ObjectBuilder<PersistentTaskStatus>
- Enclosing class:
- PersistentTaskStatus
public static class PersistentTaskStatus.Builder extends ObjectBuilderBase implements ObjectBuilder<PersistentTaskStatus>
Builder for
PersistentTaskStatus
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description PersistentTaskStatus
build()
Builds aPersistentTaskStatus
.PersistentTaskStatus.Builder
status(ShutdownStatus value)
Required - API name:status
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Required - API name:status
-
build
Builds aPersistentTaskStatus
.- Specified by:
build
in interfaceObjectBuilder<PersistentTaskStatus>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-