Class ActionAllocation
java.lang.Object
org.opensearch.client.opensearch.ism.ActionAllocation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ActionAllocation.Builder,ActionAllocation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ActionAllocation
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ActionAllocation.Builder,ActionAllocation>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ActionAllocation> Json deserializer forActionAllocation -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionAllocation.Builderbuilder()booleanexclude()The excluded allocation attributes.inthashCode()include()The included allocation attributes.static ActionAllocationrequire()The required allocation attributes.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final BooleanwaitFor()Whether to wait for the allocation to complete.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 forActionAllocation
-
-
Method Details
-
of
public static ActionAllocation of(Function<ActionAllocation.Builder, ObjectBuilder<ActionAllocation>> fn) -
exclude
The excluded allocation attributes.API name:
exclude -
include
The included allocation attributes.API name:
include -
require
The required allocation attributes.API name:
require -
waitFor
Whether to wait for the allocation to complete.API name:
wait_for -
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<ActionAllocation.Builder,ActionAllocation> - Returns:
- a new builder instance.
-
builder
-
setupActionAllocationDeserializer
protected static void setupActionAllocationDeserializer(ObjectDeserializer<ActionAllocation.Builder> op) -
hashCode
public int hashCode() -
equals
-