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 -
Method Summary
Modifier and TypeMethodDescriptionfinal AllocationStore.BuilderallocationId(String value) Required - API name:allocation_idbuild()Builds aAllocationStore.final AllocationStore.Builderfound(boolean value) Required - API name:foundfinal AllocationStore.BuilderinSync(boolean value) Required - API name:in_syncfinal AllocationStore.BuildermatchingSizeInBytes(long value) Required - API name:matching_size_in_bytesfinal AllocationStore.BuildermatchingSyncId(boolean value) Required - API name:matching_sync_idprotected AllocationStore.Builderself()final AllocationStore.BuilderstoreException(String value) Required - API name:store_exceptionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<AllocationStore.Builder>
-
build
Builds aAllocationStore.- Specified by:
buildin interfaceObjectBuilder<AllocationStore>- Throws:
NullPointerException- if some of the required fields are null.
-