Class AllocationStore.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.allocation_explain.AllocationStore.Builder
-
- All Implemented Interfaces:
ObjectBuilder<AllocationStore>
- Enclosing class:
- AllocationStore
public static class AllocationStore.Builder extends ObjectBuilderBase implements ObjectBuilder<AllocationStore>
Builder forAllocationStore.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocationStore.BuilderallocationId(java.lang.String value)Required - API name:allocation_idAllocationStorebuild()Builds aAllocationStore.AllocationStore.Builderfound(boolean value)Required - API name:foundAllocationStore.BuilderinSync(boolean value)Required - API name:in_syncAllocationStore.BuildermatchingSizeInBytes(long value)Required - API name:matching_size_in_bytesAllocationStore.BuildermatchingSyncId(boolean value)Required - API name:matching_sync_idAllocationStore.BuilderstoreException(java.lang.String value)Required - API name:store_exception-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
allocationId
public final AllocationStore.Builder allocationId(java.lang.String value)
Required - API name:allocation_id
-
found
public final AllocationStore.Builder found(boolean value)
Required - API name:found
-
inSync
public final AllocationStore.Builder inSync(boolean value)
Required - API name:in_sync
-
matchingSizeInBytes
public final AllocationStore.Builder matchingSizeInBytes(long value)
Required - API name:matching_size_in_bytes
-
matchingSyncId
public final AllocationStore.Builder matchingSyncId(boolean value)
Required - API name:matching_sync_id
-
storeException
public final AllocationStore.Builder storeException(java.lang.String value)
Required - API name:store_exception
-
build
public AllocationStore build()
Builds aAllocationStore.- Specified by:
buildin interfaceObjectBuilder<AllocationStore>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-