Class DeleteLifecycleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteLifecycleRequest.Builder>
co.elastic.clients.elasticsearch.ilm.DeleteLifecycleRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteLifecycleRequest.Builder>,ObjectBuilder<DeleteLifecycleRequest>
- Enclosing class:
- DeleteLifecycleRequest
public static class DeleteLifecycleRequest.Builder extends RequestBase.AbstractBuilder<DeleteLifecycleRequest.Builder> implements ObjectBuilder<DeleteLifecycleRequest>
Builder for
DeleteLifecycleRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteLifecycleRequestbuild()Builds aDeleteLifecycleRequest.DeleteLifecycleRequest.BuildermasterTimeout(Time value)Period to wait for a connection to the master node.DeleteLifecycleRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a connection to the master node.DeleteLifecycleRequest.Buildername(java.lang.String value)Required - Identifier for the policy.protected DeleteLifecycleRequest.Builderself()DeleteLifecycleRequest.Buildertimeout(Time value)Period to wait for a response.DeleteLifecycleRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 -
masterTimeout
public final DeleteLifecycleRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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 -
name
Required - Identifier for the policy.API name:
policy -
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 -
timeout
public final DeleteLifecycleRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteLifecycleRequest.Builder>
-
build
Builds aDeleteLifecycleRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteLifecycleRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-