Class Transition
java.lang.Object
org.opensearch.client.opensearch.ism.Transition
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Transition.Builder,Transition>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Transition
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Transition.Builder,Transition>
A transition into a new state.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Transition> Json deserializer forTransition -
Method Summary
Modifier and TypeMethodDescriptionstatic Transition.Builderbuilder()The conditions for the transition.booleaninthashCode()static Transitionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe name of the state to transition to.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forTransition
-
-
Method Details
-
of
-
conditions
The conditions for the transition.API name:
conditions -
stateName
The name of the state to transition to.API name:
state_name -
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<Transition.Builder,Transition> - Returns:
- a new builder instance.
-
builder
-
setupTransitionDeserializer
-
hashCode
public int hashCode() -
equals
-