Class PutIpLocationDatabaseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ingest.PutIpLocationDatabaseRequest
- All Implemented Interfaces:
- JsonpSerializable
@JsonpDeserializable
public class PutIpLocationDatabaseRequest
extends RequestBase
implements JsonpSerializable
Create or update an IP geolocation database configuration.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutIpLocationDatabaseRequest>Endpoint "ingest.put_ip_location_database".
- 
Method SummaryModifier and TypeMethodDescriptionfinal DatabaseConfigurationRequired - Request body.protected static JsonpDeserializer<PutIpLocationDatabaseRequest>final Stringid()Required - The database configuration identifier.final TimeThe period to wait for a connection to the master node.static PutIpLocationDatabaseRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.final Timetimeout()The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_DESERIALIZER
- 
_ENDPOINTpublic static final Endpoint<PutIpLocationDatabaseRequest,PutIpLocationDatabaseResponse, _ENDPOINTErrorResponse> Endpoint "ingest.put_ip_location_database".
 
- 
- 
Method Details- 
of
- 
idRequired - The database configuration identifier.API name: id
- 
masterTimeoutThe period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. A value of-1indicates that the request should never time out.API name: master_timeout
- 
timeoutThe period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response indicates that it was not completely acknowledged. A value of-1indicates that the request should never time out.API name: timeout
- 
configurationRequired - Request body.
- 
serializeSerialize this value to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
createPutIpLocationDatabaseRequestDeserializerprotected static JsonpDeserializer<PutIpLocationDatabaseRequest> createPutIpLocationDatabaseRequestDeserializer()
 
-