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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCleanupRepositoryRequest.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.Required - Snapshot repository to clean up.protected CleanupRepositoryRequest.Builderself()Period to wait for a response.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
-
masterTimeout
Period to wait for a connection to the master node.API name:
master_timeout -
masterTimeout
public final CleanupRepositoryRequest.Builder masterTimeout(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(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:
NullPointerException- if some of the required fields are null.
-