Class RepositorySettings

java.lang.Object
co.elastic.clients.elasticsearch.snapshot.RepositorySettings
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class RepositorySettings
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RepositorySettings of​(java.util.function.Function<RepositorySettings.Builder,​ObjectBuilder<RepositorySettings>> fn)
    • chunkSize

      @Nullable public final java.lang.String chunkSize()
      API name: chunk_size
    • compress

      @Nullable public final java.lang.Boolean compress()
      API name: compress
    • concurrentStreams

      @Nullable public final java.lang.String concurrentStreams()
      API name: concurrent_streams
    • location

      public final java.lang.String location()
      Required - API name: location
    • readOnly

      @Nullable public final java.lang.Boolean readOnly()
      API name: read_only
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupRepositorySettingsDeserializer

      protected static void setupRepositorySettingsDeserializer​(ObjectDeserializer<RepositorySettings.Builder> op)