Class Action
java.lang.Object
org.opensearch.client.opensearch.ml.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>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Action> Json deserializer forAction -
Method Summary
Modifier and TypeMethodDescriptionfinal StringAPI name:action_typestatic Action.Builderbuilder()booleaninthashCode()final Headersheaders()API name:headersfinal Stringmethod()API name:methodstatic Actionfinal StringAPI name:post_process_functionfinal StringAPI name:pre_process_functionfinal StringAPI name:request_bodyvoidserialize(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 Stringurl()API name:urlMethods 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
-
actionType
API name:action_type -
headers
API name:headers -
method
API name:method -
postProcessFunction
API name:post_process_function -
preProcessFunction
API name:pre_process_function -
requestBody
API name:request_body -
url
API name:url -
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
-