Class ShardStoreException.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.shard_stores.ShardStoreException.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ShardStoreException>
- Enclosing class:
- ShardStoreException
public static class ShardStoreException.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardStoreException>
Builder forShardStoreException.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardStoreExceptionbuild()Builds aShardStoreException.ShardStoreException.Builderreason(java.lang.String value)Required - API name:reasonShardStoreException.Buildertype(java.lang.String value)Required - API name:type-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
reason
public final ShardStoreException.Builder reason(java.lang.String value)
Required - API name:reason
-
type
public final ShardStoreException.Builder type(java.lang.String value)
Required - API name:type
-
build
public ShardStoreException build()
Builds aShardStoreException.- Specified by:
buildin interfaceObjectBuilder<ShardStoreException>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-