Class ImportDanglingIndexRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.dangling_indices.ImportDanglingIndexRequest
- All Implemented Interfaces:
ToCopyableBuilder<ImportDanglingIndexRequest.Builder,ImportDanglingIndexRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ImportDanglingIndexRequest
extends RequestBase
implements ToCopyableBuilder<ImportDanglingIndexRequest.Builder,ImportDanglingIndexRequest>
Imports the specified dangling index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "dangling_indices.import_dangling_index". -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Must be set to true in order to import the dangling index.protected voidapplyQueryParameters(Map<String, String> params) builder()final TimeOperation timeout for connection to cluster-manager node.booleaninthashCode()final StringRequired - The UUID of the dangling index.final TimeDeprecated.static ImportDanglingIndexRequestfinal Timetimeout()Explicit operation timeout.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
public static final Endpoint<ImportDanglingIndexRequest,ImportDanglingIndexResponse, _ENDPOINTErrorResponse> Endpoint "dangling_indices.import_dangling_index".
-
-
Method Details
-
of
public static ImportDanglingIndexRequest of(Function<ImportDanglingIndexRequest.Builder, ObjectBuilder<ImportDanglingIndexRequest>> fn) -
acceptDataLoss
public final boolean acceptDataLoss()Required - Must be set to true in order to import the dangling index.API name:
accept_data_loss -
clusterManagerTimeout
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.Specify timeout for connection to cluster manager.API name:
master_timeout -
timeout
Explicit operation timeout.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportDanglingIndexRequest.Builder,ImportDanglingIndexRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-