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
Returns information about one or more IP location database configurations.
- 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 - ID of the database configuration to create or update.final Time
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()
Period to wait for a response.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 - ID of the database configuration to create or update.API name:
id
-
masterTimeout
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.API name:
master_timeout
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
configuration
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createPutIpLocationDatabaseRequestDeserializer
protected static JsonpDeserializer<PutIpLocationDatabaseRequest> createPutIpLocationDatabaseRequestDeserializer()
-