Class IngestionStateShardFailure.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ingestion.IngestionStateShardFailure.Builder
- All Implemented Interfaces:
CopyableBuilder<IngestionStateShardFailure.Builder,,IngestionStateShardFailure> MutableBuilder<IngestionStateShardFailure.Builder,,IngestionStateShardFailure> ObjectBuilder<IngestionStateShardFailure>
- Enclosing class:
IngestionStateShardFailure
public static class IngestionStateShardFailure.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IngestionStateShardFailure.Builder,IngestionStateShardFailure>
Builder for
IngestionStateShardFailure.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngestionStateShardFailure.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - Indicates the shard level error message.shard(int value) Required - The shard number.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IngestionStateShardFailure.Builder,IngestionStateShardFailure> - Returns:
- a new builder instance.
-
error
Required - Indicates the shard level error message.API name:
error -
shard
Required - The shard number.API name:
shard -
build
Builds aIngestionStateShardFailure.- Specified by:
buildin interfaceObjectBuilder<IngestionStateShardFailure>- Throws:
NullPointerException- if some of the required fields are null.
-