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 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<PutIpLocationDatabaseRequest>
Endpoint "ingest.put_ip_location_database
". -
Method Summary
Modifier and TypeMethodDescriptionfinal DatabaseConfiguration
Required - Request body.protected static JsonpDeserializer<PutIpLocationDatabaseRequest>
final String
id()
Required - The database configuration identifier.final Time
The period to wait for a connection to the master node.static PutIpLocationDatabaseRequest
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.final Time
timeout()
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.RequestBase
toString
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
public static final Endpoint<PutIpLocationDatabaseRequest,PutIpLocationDatabaseResponse, _ENDPOINTErrorResponse> Endpoint "ingest.put_ip_location_database
".
-
-
Method Details
-
of
-
id
Required - The database configuration identifier.API name:
id
-
masterTimeout
The 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-1
indicates that the request should never time out.API name:
master_timeout
-
timeout
The 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-1
indicates that the request should never time out.API name:
timeout
-
configuration
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createPutIpLocationDatabaseRequestDeserializer
protected static JsonpDeserializer<PutIpLocationDatabaseRequest> createPutIpLocationDatabaseRequestDeserializer()
-