Class Action
java.lang.Object
org.opensearch.client.opensearch.ism.Action
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Action.Builder,Action>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Action
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Action.Builder,Action>
An action to perform.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Action> Json deserializer forAction -
Method Summary
Modifier and TypeMethodDescriptionfinal ActionAliasalias()Adds or removes an index alias.final ActionAllocationSets the allocations settings for index.static Action.Builderbuilder()final ActionCloseclose()Closes an index.custom()Enables custom operations to be performed on the index.final ActionDeletedelete()Deletes an index.booleanfinal ActionForceMergeForce merges an index.inthashCode()final ActionIndexPriorityThe priority level of the index.Sets a policy which determines when to send a notification regarding the index.static Actionfinal ActionOpenopen()Opens an index.final ActionReadOnlyreadOnly()Changes the index permissions to read-only.final ActionReadWriteChanges the index permissions to read-write.final ActionReplicaCountThe number of replicas for the index.final ActionRetryretry()The number of times to retry the action.final ActionRolloverrollover()Sets a rollover policy for the index.rollup()Determines when to perform an index rollup.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidshrink()Determines when to shrink the index.final ActionSnapshotsnapshot()Takes a snapshot of the index.final ActionTimeouttimeout()The amount of time to wait before the action fails.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Determines when to perform an index transform.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forAction
-
-
Method Details
-
of
-
alias
Adds or removes an index alias.API name:
alias -
allocation
Sets the allocations settings for index.API name:
allocation -
close
Closes an index.API name:
close -
custom
Enables custom operations to be performed on the index.API name:
custom -
delete
Deletes an index.API name:
delete -
forceMerge
Force merges an index.API name:
force_merge -
indexPriority
The priority level of the index.API name:
index_priority -
notification
Sets a policy which determines when to send a notification regarding the index.API name:
notification -
open
Opens an index.API name:
open -
readOnly
Changes the index permissions to read-only.API name:
read_only -
readWrite
Changes the index permissions to read-write.API name:
read_write -
replicaCount
The number of replicas for the index.API name:
replica_count -
retry
The number of times to retry the action.API name:
retry -
rollover
Sets a rollover policy for the index.API name:
rollover -
rollup
Determines when to perform an index rollup.API name:
rollup -
shrink
Determines when to shrink the index.API name:
shrink -
snapshot
Takes a snapshot of the index.API name:
snapshot -
timeout
The amount of time to wait before the action fails.API name:
timeout -
transform
Determines when to perform an index transform.API name:
transform -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Action.Builder,Action> - Returns:
- a new builder instance.
-
builder
-
setupActionDeserializer
-
hashCode
public int hashCode() -
equals
-