Class ExecutePolicyResponse
java.lang.Object
co.elastic.clients.elasticsearch.enrich.ExecutePolicyResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ExecutePolicyResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutePolicyResponse.BuilderBuilder forExecutePolicyResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ExecutePolicyResponse>_DESERIALIZERJson deserializer forExecutePolicyResponse -
Method Summary
Modifier and Type Method Description static ExecutePolicyResponseof(java.util.function.Function<ExecutePolicyResponse.Builder,ObjectBuilder<ExecutePolicyResponse>> 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 voidsetupExecutePolicyResponseDeserializer(ObjectDeserializer<ExecutePolicyResponse.Builder> op)ExecuteEnrichPolicyStatusstatus()Required - API name:statusjava.lang.StringtaskId()API name:task_idjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forExecutePolicyResponse
-
-
Method Details
-
of
public static ExecutePolicyResponse of(java.util.function.Function<ExecutePolicyResponse.Builder,ObjectBuilder<ExecutePolicyResponse>> fn) -
status
Required - API name:status -
taskId
@Nullable public final java.lang.String taskId()API name:task_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupExecutePolicyResponseDeserializer
protected static void setupExecutePolicyResponseDeserializer(ObjectDeserializer<ExecutePolicyResponse.Builder> op)
-