Class ImportDanglingIndexRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<ImportDanglingIndexRequest.Builder>
org.opensearch.client.opensearch.dangling_indices.ImportDanglingIndexRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<ImportDanglingIndexRequest.Builder,,ImportDanglingIndexRequest> MutableBuilder<ImportDanglingIndexRequest.Builder,,ImportDanglingIndexRequest> ObjectBuilder<ImportDanglingIndexRequest>
- Enclosing class:
ImportDanglingIndexRequest
public static class ImportDanglingIndexRequest.Builder
extends RequestBase.AbstractBuilder<ImportDanglingIndexRequest.Builder>
implements CopyableBuilder<ImportDanglingIndexRequest.Builder,ImportDanglingIndexRequest>
Builder for
ImportDanglingIndexRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptDataLoss(boolean value) Required - Must be set to true in order to import the dangling index.build()Builds aImportDanglingIndexRequest.Operation timeout for connection to cluster-manager node.clusterManagerTimeout(Time value) Operation timeout for connection to cluster-manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - The UUID of the dangling index.Deprecated.masterTimeout(Time value) Deprecated.protected ImportDanglingIndexRequest.Builderself()Explicit operation timeout.Explicit operation timeout.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<ImportDanglingIndexRequest.Builder,ImportDanglingIndexRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ImportDanglingIndexRequest.Builder>
-
acceptDataLoss
Required - Must be set to true in order to import the dangling index.API name:
accept_data_loss -
clusterManagerTimeout
@Nonnull public final ImportDanglingIndexRequest.Builder clusterManagerTimeout(@Nullable Time value) Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final ImportDanglingIndexRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
indexUuid
Required - The UUID of the dangling index.API name:
index_uuid -
masterTimeout
@Deprecated @Nonnull public final ImportDanglingIndexRequest.Builder masterTimeout(@Nullable Time value) Deprecated.Specify timeout for connection to cluster manager.API name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final ImportDanglingIndexRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.Specify timeout for connection to cluster manager.API name:
master_timeout -
timeout
Explicit operation timeout.API name:
timeout -
timeout
@Nonnull public final ImportDanglingIndexRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Explicit operation timeout.API name:
timeout -
build
Builds aImportDanglingIndexRequest.- Specified by:
buildin interfaceObjectBuilder<ImportDanglingIndexRequest>- Throws:
NullPointerException- if some of the required fields are null.
-