Class Trigger
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Trigger
- All Implemented Interfaces:
- JsonpSerializable,- TaggedUnion<Trigger.Kind,- Object> 
@JsonpDeserializable
public class Trigger
extends Object
implements TaggedUnion<Trigger.Kind,Object>, JsonpSerializable 
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Object_get()final Trigger.Kind_kind()Get the of the kind of variant held by this object.booleanIs this variant instance of kindschedule?static Triggerschedule()Get theschedulevariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
- 
Field Details- 
_DESERIALIZER
 
- 
- 
Constructor Details- 
Trigger
 
- 
- 
Method Details- 
_kindDescription copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
- _kindin interface- TaggedUnion<Trigger.Kind,- Object> 
- Returns:
- the variant kind
 
- 
_get- Specified by:
- _getin interface- TaggedUnion<Trigger.Kind,- Object> 
 
- 
of
- 
isSchedulepublic boolean isSchedule()Is this variant instance of kindschedule?
- 
scheduleGet theschedulevariant value.- Throws:
- IllegalStateException- if the current variant is not of the- schedulekind.
 
- 
serialize- Specified by:
- serializein interface- JsonpSerializable
 
- 
toString
- 
setupTriggerDeserializer
 
-