Class CleanupRepositoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<CleanupRepositoryRequest.Builder>
co.elastic.clients.elasticsearch.snapshot.CleanupRepositoryRequest.Builder
- All Implemented Interfaces:
WithJson<CleanupRepositoryRequest.Builder>,ObjectBuilder<CleanupRepositoryRequest>
- Enclosing class:
- CleanupRepositoryRequest
public static class CleanupRepositoryRequest.Builder extends RequestBase.AbstractBuilder<CleanupRepositoryRequest.Builder> 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.protected CleanupRepositoryRequest.Builderself()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.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.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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<CleanupRepositoryRequest.Builder>
-
build
Builds aCleanupRepositoryRequest.- Specified by:
buildin interfaceObjectBuilder<CleanupRepositoryRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-