Class ErrorNotification
java.lang.Object
org.opensearch.client.opensearch.ism.ErrorNotification
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ErrorNotification.Builder,ErrorNotification>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ErrorNotification
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ErrorNotification.Builder,ErrorNotification>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ErrorNotification> Json deserializer forErrorNotification -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorNotification.Builderbuilder()final Channelchannel()API name:channelAPI name:destinationbooleaninthashCode()The template for error notification messages.static ErrorNotificationvoidserialize(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.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 forErrorNotification
-
-
Method Details
-
of
public static ErrorNotification of(Function<ErrorNotification.Builder, ObjectBuilder<ErrorNotification>> fn) -
channel
API name:channel -
destination
API name:destination -
messageTemplate
The template for error notification messages.API name:
message_template -
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<ErrorNotification.Builder,ErrorNotification> - Returns:
- a new builder instance.
-
builder
-
setupErrorNotificationDeserializer
protected static void setupErrorNotificationDeserializer(ObjectDeserializer<ErrorNotification.Builder> op) -
hashCode
public int hashCode() -
equals
-