Class LoggingAction
java.lang.Object
co.elastic.clients.elasticsearch.watcher.LoggingAction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class LoggingAction extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoggingAction.BuilderBuilder forLoggingAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LoggingAction>_DESERIALIZERJson deserializer forLoggingAction -
Method Summary
Modifier and Type Method Description java.lang.Stringcategory()API name:categoryjava.lang.Stringlevel()API name:levelstatic LoggingActionof(java.util.function.Function<LoggingAction.Builder,ObjectBuilder<LoggingAction>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupLoggingActionDeserializer(ObjectDeserializer<LoggingAction.Builder> op)java.lang.Stringtext()Required - API name:textjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forLoggingAction
-
-
Method Details
-
of
public static LoggingAction of(java.util.function.Function<LoggingAction.Builder,ObjectBuilder<LoggingAction>> fn) -
level
@Nullable public final java.lang.String level()API name:level -
text
public final java.lang.String text()Required - API name:text -
category
@Nullable public final java.lang.String category()API name:category -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupLoggingActionDeserializer
-