Class RecoveryBytes.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RecoveryBytes.Builder>
co.elastic.clients.elasticsearch.indices.recovery.RecoveryBytes.Builder
- All Implemented Interfaces:
WithJson<RecoveryBytes.Builder>
,ObjectBuilder<RecoveryBytes>
- Enclosing class:
- RecoveryBytes
public static class RecoveryBytes.Builder
extends WithJsonObjectBuilderBase<RecoveryBytes.Builder>
implements ObjectBuilder<RecoveryBytes>
Builder for
RecoveryBytes
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRecoveryBytes
.final RecoveryBytes.Builder
Required - API name:percent
final RecoveryBytes.Builder
API name:recovered
final RecoveryBytes.Builder
recoveredFromSnapshot
(String value) API name:recovered_from_snapshot
final RecoveryBytes.Builder
API name:recovered_from_snapshot_in_bytes
final RecoveryBytes.Builder
recoveredInBytes
(String value) Required - API name:recovered_in_bytes
final RecoveryBytes.Builder
API name:reused
final RecoveryBytes.Builder
reusedInBytes
(String value) Required - API name:reused_in_bytes
protected RecoveryBytes.Builder
self()
final RecoveryBytes.Builder
API name:total
final RecoveryBytes.Builder
totalInBytes
(String value) Required - API name:total_in_bytes
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
-
percent
Required - API name:percent
-
recovered
API name:recovered
-
recoveredInBytes
Required - API name:recovered_in_bytes
-
recoveredFromSnapshot
API name:recovered_from_snapshot
-
recoveredFromSnapshotInBytes
API name:recovered_from_snapshot_in_bytes
-
reused
API name:reused
-
reusedInBytes
Required - API name:reused_in_bytes
-
total
API name:total
-
totalInBytes
Required - API name:total_in_bytes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RecoveryBytes.Builder>
-
build
Builds aRecoveryBytes
.- Specified by:
build
in interfaceObjectBuilder<RecoveryBytes>
- Throws:
NullPointerException
- if some of the required fields are null.
-