public static final class UpdateMetricStoreRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateMetricStoreRequest.Builder |
autoSplit(Boolean autoSplit)
Specifies whether to enable automatic sharding.
|
UpdateMetricStoreRequest |
build() |
UpdateMetricStoreRequest.Builder |
hotTtl(Integer hotTtl)
hot_ttl.
|
UpdateMetricStoreRequest.Builder |
infrequentAccessTTL(Integer infrequentAccessTTL)
infrequentAccessTTL.
|
UpdateMetricStoreRequest.Builder |
maxSplitShard(Integer maxSplitShard)
The maximum number of shards into which existing shards can be automatically split.
|
UpdateMetricStoreRequest.Builder |
mode(String mode)
The type of the Metricstore.
|
UpdateMetricStoreRequest.Builder |
name(String name)
The name of the Metricstore.
|
UpdateMetricStoreRequest.Builder |
project(String project)
The name of the project.
|
UpdateMetricStoreRequest.Builder |
ttl(Integer ttl)
The retention period of the metric data.
|
public UpdateMetricStoreRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:my-project
public UpdateMetricStoreRequest.Builder name(String name)
The name of the Metricstore.
This parameter is required.
example:my_metric_store
public UpdateMetricStoreRequest.Builder autoSplit(Boolean autoSplit)
Specifies whether to enable automatic sharding.
example:true
public UpdateMetricStoreRequest.Builder hotTtl(Integer hotTtl)
public UpdateMetricStoreRequest.Builder infrequentAccessTTL(Integer infrequentAccessTTL)
public UpdateMetricStoreRequest.Builder maxSplitShard(Integer maxSplitShard)
The maximum number of shards into which existing shards can be automatically split. This parameter is valid only when you set the autoSplit parameter to true.
example:64
public UpdateMetricStoreRequest.Builder mode(String mode)
The type of the Metricstore.
example:standard
public UpdateMetricStoreRequest.Builder ttl(Integer ttl)
The retention period of the metric data. Unit: days.
example:7
public UpdateMetricStoreRequest build()
Copyright © 2025. All rights reserved.