Class InProgress.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<InProgress.Builder>
co.elastic.clients.elasticsearch.slm.InProgress.Builder
- All Implemented Interfaces:
WithJson<InProgress.Builder>
,ObjectBuilder<InProgress>
- Enclosing class:
- InProgress
public static class InProgress.Builder extends WithJsonObjectBuilderBase<InProgress.Builder> implements ObjectBuilder<InProgress>
Builder for
InProgress
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description InProgress
build()
Builds aInProgress
.InProgress.Builder
name(java.lang.String value)
Required - API name:name
protected InProgress.Builder
self()
InProgress.Builder
startTimeMillis(DateTime value)
Required - API name:start_time_millis
InProgress.Builder
state(java.lang.String value)
Required - API name:state
InProgress.Builder
uuid(java.lang.String value)
Required - API name:uuid
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
name
Required - API name:name
-
startTimeMillis
Required - API name:start_time_millis
-
state
Required - API name:state
-
uuid
Required - API name:uuid
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<InProgress.Builder>
-
build
Builds aInProgress
.- Specified by:
build
in interfaceObjectBuilder<InProgress>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-