Class RegionPolicyDoc

java.lang.Object
co.elastic.clients.elasticsearch.inference.RegionPolicyDoc
All Implemented Interfaces:
JsonpSerializable
Direct Known Subclasses:
GetRegionPolicyResponse, PutRegionPolicyResponse

public abstract class RegionPolicyDoc extends Object implements JsonpSerializable
The stored region policy document.
See Also:
  • Constructor Details

  • Method Details

    • regionPolicy

      public final RegionPolicy regionPolicy()
      Required - API name: region_policy
    • createdAt

      public final DateTime createdAt()
      Required - The date and time the region policy was created.

      API name: created_at

    • createdBy

      @Nullable public final String createdBy()
      The user who created the region policy.

      API name: created_by

    • updatedAt

      @Nullable public final DateTime updatedAt()
      The date and time the region policy was last updated.

      API name: updated_at

    • updatedBy

      @Nullable public final String updatedBy()
      The user who last updated the region policy.

      API name: updated_by

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupRegionPolicyDocDeserializer

      protected static <BuilderT extends RegionPolicyDoc.AbstractBuilder<BuilderT>> void setupRegionPolicyDocDeserializer(ObjectDeserializer<BuilderT> op)