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 ErrorCausebuild()Builds aErrorCause.protected ErrorCause.Builderself()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, typeMethods 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:
selfin classErrorCause.AbstractBuilder<ErrorCause.Builder>
-
build
Builds aErrorCause.- Specified by:
buildin interfaceObjectBuilder<ErrorCause>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-