public static final class GetMetricStoreResponseBody.Builder extends Object
public GetMetricStoreResponseBody.Builder autoSplit(Boolean autoSplit)
Indicates whether the automatic sharding feature is enabled.
example:true
public GetMetricStoreResponseBody.Builder createTime(Long createTime)
The creation time. The value is a UNIX timestamp.
example:1698933894
public GetMetricStoreResponseBody.Builder hotTtl(Integer hotTtl)
public GetMetricStoreResponseBody.Builder infrequentAccessTTL(Integer infrequentAccessTTL)
public GetMetricStoreResponseBody.Builder lastModifyTime(Long lastModifyTime)
The last update time. The value is a UNIX timestamp.
example:1712023974
public GetMetricStoreResponseBody.Builder maxSplitShard(Integer maxSplitShard)
The maximum number of shards into which existing shards can be automatically split.
example:64
public GetMetricStoreResponseBody.Builder metricType(String metricType)
The metric type of the Metricstore. Example: prometheus.
example:prometheus
public GetMetricStoreResponseBody.Builder mode(String mode)
The specification type of the Metricstore. Example: standard.
example:standard
public GetMetricStoreResponseBody.Builder name(String name)
The name of the Metricstore.
example:my_metric_store
public GetMetricStoreResponseBody.Builder shardCount(Integer shardCount)
The number of shards.
example:2
public GetMetricStoreResponseBody.Builder ttl(Integer ttl)
The retention period. Unit: days.
example:7
public GetMetricStoreResponseBody build()
Copyright © 2025. All rights reserved.