Class ShardStore
java.lang.Object
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStore
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardStore extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardStore.BuilderBuilder forShardStore. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStore>_DESERIALIZERJson deserializer forShardStore -
Constructor Summary
Constructors Constructor Description ShardStore(ShardStore.Builder builder)ShardStore(java.util.function.Function<ShardStore.Builder,ShardStore.Builder> fn) -
Method Summary
Modifier and Type Method Description ShardStoreAllocationallocation()Required - API name:allocationjava.lang.StringallocationId()Required - API name:allocation_idjava.util.Map<java.lang.String,JsonData>attributes()Required - API name:attributesjava.lang.Stringid()Required - API name:idlonglegacyVersion()Required - API name:legacy_versionjava.lang.Stringname()Required - API name:namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardStoreDeserializer(DelegatingDeserializer<ShardStore.Builder> op)ShardStoreExceptionstoreException()Required - API name:store_exceptionjava.lang.StringtransportAddress()Required - API name:transport_addressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStore
-
-
Constructor Details
-
ShardStore
-
ShardStore
-
-
Method Details
-
allocation
Required - API name:allocation -
allocationId
public java.lang.String allocationId()Required - API name:allocation_id -
attributes
Required - API name:attributes -
id
public java.lang.String id()Required - API name:id -
legacyVersion
public long legacyVersion()Required - API name:legacy_version -
name
public java.lang.String name()Required - API name:name -
storeException
Required - API name:store_exception -
transportAddress
public java.lang.String transportAddress()Required - API name:transport_address -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardStoreDeserializer
-