java.lang.Object
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStore
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

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

      public final ShardStoreAllocation allocation()
      Required - API name: allocation
    • allocationId

      public final java.lang.String allocationId()
      Required - API name: allocation_id
    • attributes

      public final java.util.Map<java.lang.String,​JsonData> attributes()
      Required - API name: attributes
    • id

      public final java.lang.String id()
      Required - API name: id
    • legacyVersion

      public final long legacyVersion()
      Required - API name: legacy_version
    • name

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

      public final ShardStoreException storeException()
      Required - API name: store_exception
    • transportAddress

      public final java.lang.String transportAddress()
      Required - API name: transport_address
    • 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)
    • setupShardStoreDeserializer

      protected static void setupShardStoreDeserializer​(ObjectDeserializer<ShardStore.Builder> op)