Class ShardRetentionLeases
java.lang.Object
org.opensearch.client.opensearch.indices.stats.ShardRetentionLeases
- All Implemented Interfaces:
ToJsonp
public final class ShardRetentionLeases extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardRetentionLeases.BuilderBuilder forShardRetentionLeases. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardRetentionLeases>DESERIALIZERJson deserializer for ShardRetentionLeases -
Constructor Summary
Constructors Modifier Constructor Description protectedShardRetentionLeases(ShardRetentionLeases.Builder builder) -
Method Summary
Modifier and Type Method Description java.util.List<ShardLease>leases()API name:leasesjava.lang.NumberprimaryTerm()API name:primary_termprotected static voidsetupShardRetentionLeasesDeserializer(DelegatingDeserializer<ShardRetentionLeases.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Numberversion()API name:version
-
Field Details
-
DESERIALIZER
Json deserializer for ShardRetentionLeases
-
-
Constructor Details
-
Method Details
-
primaryTerm
public java.lang.Number primaryTerm()API name:primary_term -
version
public java.lang.Number version()API name:version -
leases
API name:leases -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupShardRetentionLeasesDeserializer
protected static void setupShardRetentionLeasesDeserializer(DelegatingDeserializer<ShardRetentionLeases.Builder> op)
-