Class RepositorySettingsBase.AbstractBuilder<BuilderT extends RepositorySettingsBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
AzureRepositorySettings.Builder
,GcsRepositorySettings.Builder
,ReadOnlyUrlRepositorySettings.Builder
,S3RepositorySettings.Builder
,SharedFileSystemRepositorySettings.Builder
,SourceOnlyRepositorySettings.Builder
- Enclosing class:
- RepositorySettingsBase
public abstract static class RepositorySettingsBase.AbstractBuilder<BuilderT extends RepositorySettingsBase.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
Big files can be broken down into multiple smaller blobs in the blob store during snapshotting.final BuilderT
When set totrue
, metadata files are stored in compressed format.final BuilderT
maxRestoreBytesPerSec
(String value) The maximum snapshot restore rate per node.final BuilderT
maxSnapshotBytesPerSec
(String value) The maximum snapshot creation rate per node.protected abstract BuilderT
self()
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
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
chunkSize
Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. Specify the chunk size as a byte unit, for example:10MB
,5KB
, 500B. The default varies by repository type.API name:
chunk_size
-
compress
When set totrue
, metadata files are stored in compressed format. This setting doesn't affect index files that are already compressed by default.API name:
compress
-
maxRestoreBytesPerSec
The maximum snapshot restore rate per node. It defaults to unlimited. Note that restores are also throttled through recovery settings.API name:
max_restore_bytes_per_sec
-
maxSnapshotBytesPerSec
The maximum snapshot creation rate per node. It defaults to 40mb per second. Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings.API name:
max_snapshot_bytes_per_sec
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends RepositorySettingsBase.AbstractBuilder<BuilderT>>
-