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.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
idAdds all elements of
listtoid. -
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:
idAdds 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-1indicates 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-1indicates that the request should never time out.API name:
master_timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetIpLocationDatabaseRequest.Builder>
-
build
Builds aGetIpLocationDatabaseRequest.- Specified by:
buildin interfaceObjectBuilder<GetIpLocationDatabaseRequest>- Throws:
NullPointerException- if some of the required fields are null.
-