Class SegmentsStats.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.SegmentsStats.Builder
-
- All Implemented Interfaces:
ObjectBuilder<SegmentsStats>
- Enclosing class:
- SegmentsStats
public static class SegmentsStats.Builder extends ObjectBuilderBase implements ObjectBuilder<SegmentsStats>
Builder forSegmentsStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentsStats
build()
Builds aSegmentsStats
.SegmentsStats.Builder
count(int value)
Required - API name:count
SegmentsStats.Builder
docValuesMemory(java.lang.String value)
API name:doc_values_memory
SegmentsStats.Builder
docValuesMemoryInBytes(long value)
Required - API name:doc_values_memory_in_bytes
SegmentsStats.Builder
fileSizes(java.lang.String key, java.util.function.Function<ShardFileSizeInfo.Builder,ObjectBuilder<ShardFileSizeInfo>> fn)
Required - API name:file_sizes
SegmentsStats.Builder
fileSizes(java.lang.String key, ShardFileSizeInfo value)
Required - API name:file_sizes
SegmentsStats.Builder
fileSizes(java.util.Map<java.lang.String,ShardFileSizeInfo> map)
Required - API name:file_sizes
SegmentsStats.Builder
fixedBitSet(java.lang.String value)
API name:fixed_bit_set
SegmentsStats.Builder
fixedBitSetMemoryInBytes(long value)
Required - API name:fixed_bit_set_memory_in_bytes
SegmentsStats.Builder
indexWriterMaxMemoryInBytes(java.lang.Long value)
API name:index_writer_max_memory_in_bytes
SegmentsStats.Builder
indexWriterMemory(java.lang.String value)
API name:index_writer_memory
SegmentsStats.Builder
indexWriterMemoryInBytes(long value)
Required - API name:index_writer_memory_in_bytes
SegmentsStats.Builder
maxUnsafeAutoIdTimestamp(long value)
Required - API name:max_unsafe_auto_id_timestamp
SegmentsStats.Builder
memory(java.lang.String value)
API name:memory
SegmentsStats.Builder
memoryInBytes(long value)
Required - API name:memory_in_bytes
SegmentsStats.Builder
normsMemory(java.lang.String value)
API name:norms_memory
SegmentsStats.Builder
normsMemoryInBytes(long value)
Required - API name:norms_memory_in_bytes
SegmentsStats.Builder
pointsMemory(java.lang.String value)
API name:points_memory
SegmentsStats.Builder
pointsMemoryInBytes(long value)
Required - API name:points_memory_in_bytes
SegmentsStats.Builder
storedFieldsMemoryInBytes(long value)
Required - API name:stored_fields_memory_in_bytes
SegmentsStats.Builder
storedMemory(java.lang.String value)
API name:stored_memory
SegmentsStats.Builder
termsMemory(java.lang.String value)
API name:terms_memory
SegmentsStats.Builder
termsMemoryInBytes(long value)
Required - API name:terms_memory_in_bytes
SegmentsStats.Builder
termVectorsMemoryInBytes(long value)
Required - API name:term_vectors_memory_in_bytes
SegmentsStats.Builder
termVectoryMemory(java.lang.String value)
API name:term_vectory_memory
SegmentsStats.Builder
versionMapMemory(java.lang.String value)
API name:version_map_memory
SegmentsStats.Builder
versionMapMemoryInBytes(long value)
Required - API name:version_map_memory_in_bytes
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
count
public final SegmentsStats.Builder count(int value)
Required - API name:count
-
docValuesMemory
public final SegmentsStats.Builder docValuesMemory(@Nullable java.lang.String value)
API name:doc_values_memory
-
docValuesMemoryInBytes
public final SegmentsStats.Builder docValuesMemoryInBytes(long value)
Required - API name:doc_values_memory_in_bytes
-
fileSizes
public final SegmentsStats.Builder fileSizes(java.util.Map<java.lang.String,ShardFileSizeInfo> map)
Required - API name:file_sizes
Adds all entries of
map
tofileSizes
.
-
fileSizes
public final SegmentsStats.Builder fileSizes(java.lang.String key, ShardFileSizeInfo value)
Required - API name:file_sizes
Adds an entry to
fileSizes
.
-
fileSizes
public final SegmentsStats.Builder fileSizes(java.lang.String key, java.util.function.Function<ShardFileSizeInfo.Builder,ObjectBuilder<ShardFileSizeInfo>> fn)
Required - API name:file_sizes
Adds an entry to
fileSizes
using a builder lambda.
-
fixedBitSet
public final SegmentsStats.Builder fixedBitSet(@Nullable java.lang.String value)
API name:fixed_bit_set
-
fixedBitSetMemoryInBytes
public final SegmentsStats.Builder fixedBitSetMemoryInBytes(long value)
Required - API name:fixed_bit_set_memory_in_bytes
-
indexWriterMemory
public final SegmentsStats.Builder indexWriterMemory(@Nullable java.lang.String value)
API name:index_writer_memory
-
indexWriterMaxMemoryInBytes
public final SegmentsStats.Builder indexWriterMaxMemoryInBytes(@Nullable java.lang.Long value)
API name:index_writer_max_memory_in_bytes
-
indexWriterMemoryInBytes
public final SegmentsStats.Builder indexWriterMemoryInBytes(long value)
Required - API name:index_writer_memory_in_bytes
-
maxUnsafeAutoIdTimestamp
public final SegmentsStats.Builder maxUnsafeAutoIdTimestamp(long value)
Required - API name:max_unsafe_auto_id_timestamp
-
memory
public final SegmentsStats.Builder memory(@Nullable java.lang.String value)
API name:memory
-
memoryInBytes
public final SegmentsStats.Builder memoryInBytes(long value)
Required - API name:memory_in_bytes
-
normsMemory
public final SegmentsStats.Builder normsMemory(@Nullable java.lang.String value)
API name:norms_memory
-
normsMemoryInBytes
public final SegmentsStats.Builder normsMemoryInBytes(long value)
Required - API name:norms_memory_in_bytes
-
pointsMemory
public final SegmentsStats.Builder pointsMemory(@Nullable java.lang.String value)
API name:points_memory
-
pointsMemoryInBytes
public final SegmentsStats.Builder pointsMemoryInBytes(long value)
Required - API name:points_memory_in_bytes
-
storedMemory
public final SegmentsStats.Builder storedMemory(@Nullable java.lang.String value)
API name:stored_memory
-
storedFieldsMemoryInBytes
public final SegmentsStats.Builder storedFieldsMemoryInBytes(long value)
Required - API name:stored_fields_memory_in_bytes
-
termsMemoryInBytes
public final SegmentsStats.Builder termsMemoryInBytes(long value)
Required - API name:terms_memory_in_bytes
-
termsMemory
public final SegmentsStats.Builder termsMemory(@Nullable java.lang.String value)
API name:terms_memory
-
termVectoryMemory
public final SegmentsStats.Builder termVectoryMemory(@Nullable java.lang.String value)
API name:term_vectory_memory
-
termVectorsMemoryInBytes
public final SegmentsStats.Builder termVectorsMemoryInBytes(long value)
Required - API name:term_vectors_memory_in_bytes
-
versionMapMemory
public final SegmentsStats.Builder versionMapMemory(@Nullable java.lang.String value)
API name:version_map_memory
-
versionMapMemoryInBytes
public final SegmentsStats.Builder versionMapMemoryInBytes(long value)
Required - API name:version_map_memory_in_bytes
-
build
public SegmentsStats build()
Builds aSegmentsStats
.- Specified by:
build
in interfaceObjectBuilder<SegmentsStats>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-