Class PostRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.PostRequest
- All Implemented Interfaces:
JsonpSerializable
Updates the license for the cluster.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PostRequest>Json deserializer forPostRequeststatic final Endpoint<PostRequest,PostResponse, ErrorResponse> Endpoint "license.post". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanSpecifies whether you acknowledge the license changes.final Licenselicense()API name:licenselicenses()A sequence of one or more JSON documents containing the license information.static PostRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPostRequest -
_ENDPOINT
Endpoint "license.post".
-
-
Method Details
-
of
-
acknowledge
Specifies whether you acknowledge the license changes.API name:
acknowledge -
license
API name:license -
licenses
A sequence of one or more JSON documents containing the license information.API name:
licenses -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupPostRequestDeserializer
-