Class DeleteIpLocationDatabaseRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteIpLocationDatabaseRequest.Builder>
co.elastic.clients.elasticsearch.ingest.DeleteIpLocationDatabaseRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteIpLocationDatabaseRequest.Builder>,ObjectBuilder<DeleteIpLocationDatabaseRequest>
- Enclosing class:
- DeleteIpLocationDatabaseRequest
public static class DeleteIpLocationDatabaseRequest.Builder
extends RequestBase.AbstractBuilder<DeleteIpLocationDatabaseRequest.Builder>
implements ObjectBuilder<DeleteIpLocationDatabaseRequest>
Builder for
DeleteIpLocationDatabaseRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteIpLocationDatabaseRequest.Required - A comma-separated list of IP location database configurations.Required - A comma-separated list of IP location database configurations.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 DeleteIpLocationDatabaseRequest.Builderself()The period to wait for a response.The period to wait for a response.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
Required - A comma-separated list of IP location database configurations.API name:
idAdds all elements of
listtoid. -
id
Required - A comma-separated list of IP location database configurations.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 DeleteIpLocationDatabaseRequest.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 -
timeout
The period to wait for a response. 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:
timeout -
timeout
public final DeleteIpLocationDatabaseRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for a response. 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:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteIpLocationDatabaseRequest.Builder>
-
build
Builds aDeleteIpLocationDatabaseRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteIpLocationDatabaseRequest>- Throws:
NullPointerException- if some of the required fields are null.
-