Class RegionPolicyDoc
java.lang.Object
co.elastic.clients.elasticsearch.inference.RegionPolicyDoc
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
GetRegionPolicyResponse,PutRegionPolicyResponse
The stored region policy document.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRegionPolicyDoc(RegionPolicyDoc.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal DateTimeRequired - The date and time the region policy was created.final StringThe user who created the region policy.final RegionPolicyRequired - API name:region_policyvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends RegionPolicyDoc.AbstractBuilder<BuilderT>>
voidsetupRegionPolicyDocDeserializer(ObjectDeserializer<BuilderT> op) toString()final DateTimeThe date and time the region policy was last updated.final StringThe user who last updated the region policy.
-
Constructor Details
-
RegionPolicyDoc
-
-
Method Details
-
regionPolicy
Required - API name:region_policy -
createdAt
Required - The date and time the region policy was created.API name:
created_at -
createdBy
The user who created the region policy.API name:
created_by -
updatedAt
The date and time the region policy was last updated.API name:
updated_at -
updatedBy
The user who last updated the region policy.API name:
updated_by -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRegionPolicyDocDeserializer
protected static <BuilderT extends RegionPolicyDoc.AbstractBuilder<BuilderT>> void setupRegionPolicyDocDeserializer(ObjectDeserializer<BuilderT> op)
-