Class ShardStore
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.shard_stores.ShardStore
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.StringtransportAddress()Required - API name:transport_address
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShardStore> _DESERIALIZER
Json deserializer forShardStore
-
-
Method Detail
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupShardStoreDeserializer
protected static void setupShardStoreDeserializer(ObjectDeserializer<ShardStore.Builder> op)
-
-