public static final class GetCursorRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetCursorRequest |
build() |
GetCursorRequest.Builder |
from(String from)
The point in time that you want to use to query a cursor.
|
GetCursorRequest.Builder |
logstore(String logstore)
The name of the Logstore.
|
GetCursorRequest.Builder |
project(String project)
The name of the project.
|
GetCursorRequest.Builder |
shardId(Integer shardId)
The shard ID.
|
public GetCursorRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public GetCursorRequest.Builder logstore(String logstore)
The name of the Logstore.
This parameter is required.
example:sls-test-logstore
public GetCursorRequest.Builder shardId(Integer shardId)
The shard ID.
This parameter is required.
example:1
public GetCursorRequest.Builder from(String from)
The point in time that you want to use to query a cursor. Set the value to a UNIX timestamp or a string such as begin and end.
This parameter is required.
example:begin
public GetCursorRequest build()
Copyright © 2025. All rights reserved.