Class ShardStoreException.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardStoreException.Builder>
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStoreException.Builder
- All Implemented Interfaces:
WithJson<ShardStoreException.Builder>,ObjectBuilder<ShardStoreException>
- Enclosing class:
- ShardStoreException
public static class ShardStoreException.Builder extends WithJsonObjectBuilderBase<ShardStoreException.Builder> implements ObjectBuilder<ShardStoreException>
Builder for
ShardStoreException.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardStoreExceptionbuild()Builds aShardStoreException.ShardStoreException.Builderreason(java.lang.String value)Required - API name:reasonprotected ShardStoreException.Builderself()ShardStoreException.Buildertype(java.lang.String value)Required - API name:typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
Required - API name:reason -
type
Required - API name:type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ShardStoreException.Builder>
-
build
Builds aShardStoreException.- Specified by:
buildin interfaceObjectBuilder<ShardStoreException>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-