Class IndexDetails.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.snapshot.IndexDetails.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexDetails>
- Enclosing class:
- IndexDetails
public static class IndexDetails.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexDetails>
Builder for
IndexDetails.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexDetailsbuild()Builds aIndexDetails.IndexDetails.BuildermaxSegmentsPerShard(long value)Required - API name:max_segments_per_shardIndexDetails.BuildershardCount(int value)Required - API name:shard_countIndexDetails.Buildersize(java.lang.String value)API name:sizeIndexDetails.BuildersizeInBytes(long value)Required - API name:size_in_bytesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shardCount
Required - API name:shard_count -
size
API name:size -
sizeInBytes
Required - API name:size_in_bytes -
maxSegmentsPerShard
Required - API name:max_segments_per_shard -
build
Builds aIndexDetails.- Specified by:
buildin interfaceObjectBuilder<IndexDetails>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-