Class CreateDefaultStoreResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ltr.CreateDefaultStoreResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<CreateDefaultStoreResponse.Builder,,CreateDefaultStoreResponse> MutableBuilder<CreateDefaultStoreResponse.Builder,,CreateDefaultStoreResponse> ObjectBuilder<CreateDefaultStoreResponse>
- Enclosing class:
CreateDefaultStoreResponse
public static class CreateDefaultStoreResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CreateDefaultStoreResponse.Builder,CreateDefaultStoreResponse>
Builder for
CreateDefaultStoreResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledged(Boolean value) Indicates whether the request was acknowledged.build()Builds aCreateDefaultStoreResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.The name of the index.shardsAcknowledged(Boolean value) Indicates whether the required active shards were acknowledged.Methods 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<CreateDefaultStoreResponse.Builder,CreateDefaultStoreResponse> - Returns:
- a new builder instance.
-
acknowledged
Indicates whether the request was acknowledged.API name:
acknowledged -
index
The name of the index.API name:
index -
shardsAcknowledged
@Nonnull public final CreateDefaultStoreResponse.Builder shardsAcknowledged(@Nullable Boolean value) Indicates whether the required active shards were acknowledged.API name:
shards_acknowledged -
build
Builds aCreateDefaultStoreResponse.- Specified by:
buildin interfaceObjectBuilder<CreateDefaultStoreResponse>- Throws:
NullPointerException- if some of the required fields are null.
-