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 class
ShardStore.Builder
Builder forShardStore
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardStore>
_DESERIALIZER
Json deserializer forShardStore
-
Method Summary
Modifier and Type Method Description ShardStoreAllocation
allocation()
Required - API name:allocation
java.lang.String
allocationId()
Required - API name:allocation_id
java.util.Map<java.lang.String,JsonData>
attributes()
Required - API name:attributes
java.lang.String
id()
Required - API name:id
long
legacyVersion()
Required - API name:legacy_version
java.lang.String
name()
Required - API name:name
static ShardStore
of(java.util.function.Function<ShardStore.Builder,ObjectBuilder<ShardStore>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShardStoreDeserializer(ObjectDeserializer<ShardStore.Builder> op)
ShardStoreException
storeException()
Required - API name:store_exception
java.lang.String
toString()
java.lang.String
transportAddress()
Required - API name:transport_address
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupShardStoreDeserializer
-