Class CleanupRepositoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.snapshot.CleanupRepositoryRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<CleanupRepositoryRequest>
- Enclosing class:
- CleanupRepositoryRequest
public static class CleanupRepositoryRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<CleanupRepositoryRequest>
Builder for
CleanupRepositoryRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CleanupRepositoryRequestbuild()Builds aCleanupRepositoryRequest.CleanupRepositoryRequest.BuildermasterTimeout(Time value)Period to wait for a connection to the master node.CleanupRepositoryRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a connection to the master node.CleanupRepositoryRequest.Buildername(java.lang.String value)Required - Snapshot repository to clean up.CleanupRepositoryRequest.Buildertimeout(Time value)Period to wait for a response.CleanupRepositoryRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a response.Methods 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.API name:
master_timeout -
masterTimeout
public final CleanupRepositoryRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a connection to the master node.API name:
master_timeout -
name
Required - Snapshot repository to clean up.API name:
repository -
timeout
Period to wait for a response.API name:
timeout -
timeout
public final CleanupRepositoryRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a response.API name:
timeout -
build
Builds aCleanupRepositoryRequest.- Specified by:
buildin interfaceObjectBuilder<CleanupRepositoryRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-