Class IndexDetails
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.IndexDetails
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexDetails extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexDetails.Builder
Builder forIndexDetails
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexDetails>
_DESERIALIZER
Json deserializer forIndexDetails
-
Method Summary
Modifier and Type Method Description long
maxSegmentsPerShard()
Required - API name:max_segments_per_shard
static IndexDetails
of(java.util.function.Function<IndexDetails.Builder,ObjectBuilder<IndexDetails>> 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
setupIndexDetailsDeserializer(ObjectDeserializer<IndexDetails.Builder> op)
int
shardCount()
Required - API name:shard_count
java.lang.String
size()
API name:size
long
sizeInBytes()
Required - API name:size_in_bytes
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexDetails
-
-
Method Details
-
of
public static IndexDetails of(java.util.function.Function<IndexDetails.Builder,ObjectBuilder<IndexDetails>> fn) -
shardCount
public final int shardCount()Required - API name:shard_count
-
size
@Nullable public final java.lang.String size()API name:size
-
sizeInBytes
public final long sizeInBytes()Required - API name:size_in_bytes
-
maxSegmentsPerShard
public final long maxSegmentsPerShard()Required - API name:max_segments_per_shard
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupIndexDetailsDeserializer
-