Class ShardStore
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
-
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 -
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:namestatic ShardStoreof(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardStoreDeserializer(ObjectDeserializer<ShardStore.Builder> op)ShardStoreExceptionstoreException()Required - API name:store_exceptionjava.lang.StringtoString()java.lang.StringtransportAddress()Required - API name:transport_addressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStore
-
-
Method Details
-
of
public static ShardStore of(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn) -
allocation
Required - API name:allocation -
allocationId
public final java.lang.String allocationId()Required - API name:allocation_id -
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
Required - API name:store_exception -
transportAddress
public final java.lang.String transportAddress()Required - API name:transport_address -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupShardStoreDeserializer
-