Class AllocationStore.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AllocationStore.Builder>
co.elastic.clients.elasticsearch.cluster.allocation_explain.AllocationStore.Builder
- All Implemented Interfaces:
WithJson<AllocationStore.Builder>
,ObjectBuilder<AllocationStore>
- Enclosing class:
- AllocationStore
public static class AllocationStore.Builder
extends WithJsonObjectBuilderBase<AllocationStore.Builder>
implements ObjectBuilder<AllocationStore>
Builder for
AllocationStore
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AllocationStore.Builder
allocationId
(String value) Required - API name:allocation_id
build()
Builds aAllocationStore
.final AllocationStore.Builder
found
(boolean value) Required - API name:found
final AllocationStore.Builder
inSync
(boolean value) Required - API name:in_sync
final AllocationStore.Builder
matchingSizeInBytes
(long value) Required - API name:matching_size_in_bytes
final AllocationStore.Builder
matchingSyncId
(boolean value) Required - API name:matching_sync_id
protected AllocationStore.Builder
self()
final AllocationStore.Builder
storeException
(String value) Required - API name:store_exception
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
-
allocationId
Required - API name:allocation_id
-
found
Required - API name:found
-
inSync
Required - API name:in_sync
-
matchingSizeInBytes
Required - API name:matching_size_in_bytes
-
matchingSyncId
Required - API name:matching_sync_id
-
storeException
Required - API name:store_exception
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AllocationStore.Builder>
-
build
Builds aAllocationStore
.- Specified by:
build
in interfaceObjectBuilder<AllocationStore>
- Throws:
NullPointerException
- if some of the required fields are null.
-