Class ShardStoreException.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.shard_stores.ShardStoreException.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardStoreException.Builder,,ShardStoreException> MutableBuilder<ShardStoreException.Builder,,ShardStoreException> ObjectBuilder<ShardStoreException>
- Enclosing class:
ShardStoreException
public static class ShardStoreException.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardStoreException.Builder,ShardStoreException>
Builder for
ShardStoreException.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aShardStoreException.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - The reason for the store exception.Required - The type of store exception.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<ShardStoreException.Builder,ShardStoreException> - Returns:
- a new builder instance.
-
reason
Required - The reason for the store exception.API name:
reason -
type
Required - The type of store exception.API name:
type -
build
Builds aShardStoreException.- Specified by:
buildin interfaceObjectBuilder<ShardStoreException>- Throws:
NullPointerException- if some of the required fields are null.
-