Class SourceOnlyRepositorySettingsForReadOnlyUrl
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SourceOnlyRepositorySettingsForReadOnlyUrl
- All Implemented Interfaces:
SourceOnlyRepositorySettingsVariant,JsonpSerializable
@JsonpDeserializable
public class SourceOnlyRepositorySettingsForReadOnlyUrl
extends Object
implements SourceOnlyRepositorySettingsVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forSourceOnlyRepositorySettingsForReadOnlyUrl. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SourceOnlyRepositorySettingsForReadOnlyUrl>Json deserializer forSourceOnlyRepositorySettingsForReadOnlyUrl -
Method Summary
Modifier and TypeMethodDescriptionSourceOnlyRepositorySettings variant kind.final IntegerThe maximum number of retries for HTTP and HTTPS URLs.final TimeThe maximum wait time for data transfers over a connection.final IntegerThe maximum number of snapshots the repository can contain.of(Function<SourceOnlyRepositorySettingsForReadOnlyUrl.Builder, ObjectBuilder<SourceOnlyRepositorySettingsForReadOnlyUrl>> fn) rebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupSourceOnlyRepositorySettingsForReadOnlyUrlDeserializer(ObjectDeserializer<SourceOnlyRepositorySettingsForReadOnlyUrl.Builder> op) toString()final Stringurl()Required - The URL location of the root of the shared filesystem repository.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.snapshot.SourceOnlyRepositorySettingsVariant
_toSourceOnlyRepositorySettings
-
Field Details
-
_DESERIALIZER
Json deserializer forSourceOnlyRepositorySettingsForReadOnlyUrl
-
-
Method Details
-
of
-
_sourceOnlyRepositorySettingsKind
SourceOnlyRepositorySettings variant kind.- Specified by:
_sourceOnlyRepositorySettingsKindin interfaceSourceOnlyRepositorySettingsVariant
-
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:fileftphttphttpsjar
URLs using the HTTP, HTTPS, or FTP protocols must be explicitly allowed with the
repositories.url.allowed_urlscluster 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.reposetting. You don't need to register URLs using the FTP, HTTP, HTTPS, or JAR protocols in thepath.reposetting.API name:
url -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
SourceOnlyRepositorySettingsForReadOnlyUrl.Builderinitialized with field values of this instance
-
setupSourceOnlyRepositorySettingsForReadOnlyUrlDeserializer
protected static void setupSourceOnlyRepositorySettingsForReadOnlyUrlDeserializer(ObjectDeserializer<SourceOnlyRepositorySettingsForReadOnlyUrl.Builder> op)
-