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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AllocationStore.Builder
allocationId(java.lang.String value)
Required - API name:allocation_id
AllocationStore
build()
Builds aAllocationStore
.AllocationStore.Builder
found(boolean value)
Required - API name:found
AllocationStore.Builder
inSync(boolean value)
Required - API name:in_sync
AllocationStore.Builder
matchingSizeInBytes(long value)
Required - API name:matching_size_in_bytes
AllocationStore.Builder
matchingSyncId(boolean value)
Required - API name:matching_sync_id
protected AllocationStore.Builder
self()
AllocationStore.Builder
storeException(java.lang.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
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
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-