Class SharedFileSystemRepositorySettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase.AbstractBuilder<SharedFileSystemRepositorySettings.Builder>
co.elastic.clients.elasticsearch.snapshot.SharedFileSystemRepositorySettings.Builder
- All Implemented Interfaces:
WithJson<SharedFileSystemRepositorySettings.Builder>
,ObjectBuilder<SharedFileSystemRepositorySettings>
- Enclosing class:
- SharedFileSystemRepositorySettings
public static class SharedFileSystemRepositorySettings.Builder
extends RepositorySettingsBase.AbstractBuilder<SharedFileSystemRepositorySettings.Builder>
implements ObjectBuilder<SharedFileSystemRepositorySettings>
Builder for
SharedFileSystemRepositorySettings
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSharedFileSystemRepositorySettings
.Required - API name:location
maxNumberOfSnapshots
(Integer value) API name:max_number_of_snapshots
API name:readonly
self()
Methods inherited from class co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase.AbstractBuilder
chunkSize, compress, maxRestoreBytesPerSec, maxSnapshotBytesPerSec
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
Required - API name:location
-
maxNumberOfSnapshots
public final SharedFileSystemRepositorySettings.Builder maxNumberOfSnapshots(@Nullable Integer value) API name:max_number_of_snapshots
-
readonly
API name:readonly
-
self
- Specified by:
self
in classRepositorySettingsBase.AbstractBuilder<SharedFileSystemRepositorySettings.Builder>
-
build
Builds aSharedFileSystemRepositorySettings
.- Specified by:
build
in interfaceObjectBuilder<SharedFileSystemRepositorySettings>
- Throws:
NullPointerException
- if some of the required fields are null.
-