Class GetIpLocationDatabaseRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetIpLocationDatabaseRequest.Builder>
co.elastic.clients.elasticsearch.ingest.GetIpLocationDatabaseRequest.Builder
- All Implemented Interfaces:
WithJson<GetIpLocationDatabaseRequest.Builder>
,ObjectBuilder<GetIpLocationDatabaseRequest>
- Enclosing class:
- GetIpLocationDatabaseRequest
public static class GetIpLocationDatabaseRequest.Builder
extends RequestBase.AbstractBuilder<GetIpLocationDatabaseRequest.Builder>
implements ObjectBuilder<GetIpLocationDatabaseRequest>
Builder for
GetIpLocationDatabaseRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetIpLocationDatabaseRequest
.Comma-separated list of database configuration IDs to retrieve.Comma-separated list of database configuration IDs to retrieve.masterTimeout
(Time value) The period to wait for a connection to the master node.The period to wait for a connection to the master node.protected GetIpLocationDatabaseRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Comma-separated list of database configuration IDs to retrieve. Wildcard (*
) expressions are supported. To get all database configurations, omit this parameter or use*
.API name:
id
Adds all elements of
list
toid
. -
id
Comma-separated list of database configuration IDs to retrieve. Wildcard (*
) expressions are supported. To get all database configurations, omit this parameter or use*
.API name:
id
Adds one or more values to
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
-
masterTimeout
public final GetIpLocationDatabaseRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<GetIpLocationDatabaseRequest.Builder>
-
build
Builds aGetIpLocationDatabaseRequest
.- Specified by:
build
in interfaceObjectBuilder<GetIpLocationDatabaseRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-