public static final class SplitShardRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SplitShardRequest |
build() |
SplitShardRequest.Builder |
key(String key)
The position where the shard is split.
|
SplitShardRequest.Builder |
logstore(String logstore)
The name of the Logstore.
|
SplitShardRequest.Builder |
project(String project)
The name of the project.
|
SplitShardRequest.Builder |
shard(Integer shard)
The ID of the shard.
|
SplitShardRequest.Builder |
shardCount(Integer shardCount)
The number of new shards that are generated after splitting.
|
public SplitShardRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public SplitShardRequest.Builder logstore(String logstore)
The name of the Logstore.
This parameter is required.
example:logstorename
public SplitShardRequest.Builder shard(Integer shard)
The ID of the shard.
This parameter is required.
example:0
public SplitShardRequest.Builder key(String key)
The position where the shard is split.
example:ef000000000000000000000000000000
public SplitShardRequest.Builder shardCount(Integer shardCount)
The number of new shards that are generated after splitting.
example:2
public SplitShardRequest build()
Copyright © 2025. All rights reserved.