Class ErrorCause.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.ErrorCause.AbstractBuilder<ErrorCause.Builder>
co.elastic.clients.elasticsearch._types.ErrorCause.Builder
- All Implemented Interfaces:
ObjectBuilder<ErrorCause>
- Enclosing class:
- ErrorCause
public static class ErrorCause.Builder extends ErrorCause.AbstractBuilder<ErrorCause.Builder> implements ObjectBuilder<ErrorCause>
Builder for
ErrorCause
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ErrorCause
build()
Builds aErrorCause
.protected ErrorCause.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.ErrorCause.AbstractBuilder
addFailedShards, addFailedShards, addResourceId, addRootCause, addRootCause, addScriptStack, bytesLimit, bytesWanted, causedBy, causedBy, col, column, failedShards, failedShards, failedShards, grouped, header, index, indexUuid, lang, language, licensedExpiredFeature, line, maxBuckets, phase, position, position, processorType, propertyName, putHeader, reason, resourceId, resourceId, resourceType, rootCause, rootCause, rootCause, script, scriptStack, scriptStack, shard, stackTrace, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classErrorCause.AbstractBuilder<ErrorCause.Builder>
-
build
Builds aErrorCause
.- Specified by:
build
in interfaceObjectBuilder<ErrorCause>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-