Class States
java.lang.Object
org.opensearch.client.opensearch.ism.States
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<States.Builder,States>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class States
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<States.Builder,States>
The list of actions to perform and transitions to enter a new state.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<States> Json deserializer forStates -
Method Summary
Modifier and TypeMethodDescriptionactions()The list of actions to perform.static States.Builderbuilder()booleaninthashCode()final Stringname()The name of the state.static Statesvoidserialize(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 List<Transition> The list of transitions to enter a new state.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 forStates
-
-
Method Details
-
of
-
actions
The list of actions to perform.API name:
actions -
name
The name of the state.API name:
name -
transitions
The list of transitions to enter a new state.API name:
transitions -
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<States.Builder,States> - Returns:
- a new builder instance.
-
builder
-
setupStatesDeserializer
-
hashCode
public int hashCode() -
equals
-