Class ReadOnlyUrlRepositorySettings
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase
co.elastic.clients.elasticsearch.snapshot.ReadOnlyUrlRepositorySettings
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase
RepositorySettingsBase.AbstractBuilder<BuilderT extends RepositorySettingsBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReadOnlyUrlRepositorySettings>
Json deserializer forReadOnlyUrlRepositorySettings
-
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
The maximum number of retries for HTTP and HTTPS URLs.final Time
The maximum wait time for data transfers over a connection.final Integer
The maximum number of snapshots the repository can contain.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupReadOnlyUrlRepositorySettingsDeserializer
(ObjectDeserializer<ReadOnlyUrlRepositorySettings.Builder> op) final String
url()
Required - The URL location of the root of the shared filesystem repository.Methods inherited from class co.elastic.clients.elasticsearch.snapshot.RepositorySettingsBase
chunkSize, compress, maxRestoreBytesPerSec, maxSnapshotBytesPerSec, serialize, setupRepositorySettingsBaseDeserializer, toString
-
Field Details
-
_DESERIALIZER
Json deserializer forReadOnlyUrlRepositorySettings
-
-
Method Details
-
of
-
httpMaxRetries
The maximum number of retries for HTTP and HTTPS URLs.API name:
http_max_retries
-
httpSocketTimeout
The maximum wait time for data transfers over a connection.API name:
http_socket_timeout
-
maxNumberOfSnapshots
The maximum number of snapshots the repository can contain. The default isInteger.MAX_VALUE
, which is 2^31-1 or2147483647
.API name:
max_number_of_snapshots
-
url
Required - The URL location of the root of the shared filesystem repository. The following protocols are supported:file
ftp
http
https
jar
URLs using the HTTP, HTTPS, or FTP protocols must be explicitly allowed with the
repositories.url.allowed_urls
cluster setting. This setting supports wildcards in the place of a host, path, query, or fragment in the URL.URLs using the file protocol must point to the location of a shared filesystem accessible to all master and data nodes in the cluster. This location must be registered in the
path.repo
setting. You don't need to register URLs using the FTP, HTTP, HTTPS, or JAR protocols in thepath.repo
setting.API name:
url
-
serializeInternal
- Overrides:
serializeInternal
in classRepositorySettingsBase
-
setupReadOnlyUrlRepositorySettingsDeserializer
protected static void setupReadOnlyUrlRepositorySettingsDeserializer(ObjectDeserializer<ReadOnlyUrlRepositorySettings.Builder> op)
-