Class ErrorCause.Builder
java.lang.Object
org.opensearch.client.opensearch._types.ErrorCause.AbstractBuilder<ErrorCause.Builder>
org.opensearch.client.opensearch._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.-
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 ErrorCausebuild()Builds aErrorCause.protected ErrorCause.Builderself()Methods inherited from class org.opensearch.client.opensearch._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
-
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.
-