Class AllocationStore.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.allocation_explain.AllocationStore.Builder
- All Implemented Interfaces:
CopyableBuilder<AllocationStore.Builder,,AllocationStore> MutableBuilder<AllocationStore.Builder,,AllocationStore> ObjectBuilder<AllocationStore>
- Enclosing class:
AllocationStore
public static class AllocationStore.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AllocationStore.Builder,AllocationStore>
Builder for
AllocationStore.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AllocationStore.BuilderallocationId(String value) Required - API name:allocation_idbuild()Builds aAllocationStore.copy()Create a new builderCopyableBuilderthat is a copy of this one.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_idfinal AllocationStore.BuilderstoreException(String value) Required - API name:store_exceptionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<AllocationStore.Builder,AllocationStore> - Returns:
- a new builder instance.
-
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 -
build
Builds aAllocationStore.- Specified by:
buildin interfaceObjectBuilder<AllocationStore>- Throws:
NullPointerException- if some of the required fields are null.
-