Class ShardStoreException.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.shard_stores.ShardStoreException.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardStoreException>
- Enclosing class:
- ShardStoreException
public static class ShardStoreException.Builder extends java.lang.Object implements ObjectBuilder<ShardStoreException>
Builder for
ShardStoreException.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardStoreExceptionbuild()Builds aShardStoreException.ShardStoreException.Builderreason(java.lang.String value)API name:reasonShardStoreException.Buildertype(java.lang.String value)API name:type
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
API name:reason -
type
API name:type -
build
Builds aShardStoreException.- Specified by:
buildin interfaceObjectBuilder<ShardStoreException>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-