Class JobBlocked
java.lang.Object
co.elastic.clients.elasticsearch.ml.JobBlocked
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class JobBlocked extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobBlocked.Builder
Builder forJobBlocked
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<JobBlocked>
_DESERIALIZER
Json deserializer forJobBlocked
-
Method Summary
Modifier and Type Method Description static JobBlocked
of(java.util.function.Function<JobBlocked.Builder,ObjectBuilder<JobBlocked>> fn)
JobBlockedReason
reason()
Required - API name:reason
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupJobBlockedDeserializer(ObjectDeserializer<JobBlocked.Builder> op)
java.lang.String
taskId()
API name:task_id
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forJobBlocked
-
-
Method Details
-
of
public static JobBlocked of(java.util.function.Function<JobBlocked.Builder,ObjectBuilder<JobBlocked>> fn) -
reason
Required - API name:reason
-
taskId
@Nullable public final java.lang.String taskId()API name:task_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupJobBlockedDeserializer
-