Class RecoveryStartStatus.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RecoveryStartStatus.Builder>
co.elastic.clients.elasticsearch.indices.recovery.RecoveryStartStatus.Builder
- All Implemented Interfaces:
WithJson<RecoveryStartStatus.Builder>
,ObjectBuilder<RecoveryStartStatus>
- Enclosing class:
- RecoveryStartStatus
public static class RecoveryStartStatus.Builder
extends WithJsonObjectBuilderBase<RecoveryStartStatus.Builder>
implements ObjectBuilder<RecoveryStartStatus>
Builder for
RecoveryStartStatus
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRecoveryStartStatus
.checkIndexTime
(Time value) API name:check_index_time
API name:check_index_time
checkIndexTimeInMillis
(long value) Required - API name:check_index_time_in_millis
protected RecoveryStartStatus.Builder
self()
API name:total_time
API name:total_time
totalTimeInMillis
(long value) Required - API name:total_time_in_millis
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkIndexTime
API name:check_index_time
-
checkIndexTime
public final RecoveryStartStatus.Builder checkIndexTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:check_index_time
-
checkIndexTimeInMillis
Required - API name:check_index_time_in_millis
-
totalTime
API name:total_time
-
totalTime
API name:total_time
-
totalTimeInMillis
Required - API name:total_time_in_millis
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RecoveryStartStatus.Builder>
-
build
Builds aRecoveryStartStatus
.- Specified by:
build
in interfaceObjectBuilder<RecoveryStartStatus>
- Throws:
NullPointerException
- if some of the required fields are null.
-