public static class GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
consumePosition
The starting consumer offset.
|
String |
consumerGroup
The consumer group.
|
String |
logStore
The Log Service Logstore.
|
String |
project
The Log Service project.
|
String |
roleName
The role name.
|
| 构造器和说明 |
|---|
GetEventStreamingResponseBodyDataSourceSourceSLSParameters() |
@NameInMap(value="ConsumePosition") public String consumePosition
The starting consumer offset. The value begin indicates the earliest offset, and the value end indicates the latest offset. You can also specify a time in seconds to start consumption.
example:begin
@NameInMap(value="ConsumerGroup") public String consumerGroup
The consumer group.
@NameInMap(value="LogStore") public String logStore
The Log Service Logstore.
example:waf-logstore
@NameInMap(value="Project") public String project
The Log Service project.
example:dmmzk
@NameInMap(value="RoleName") public String roleName
The role name. If you want to authorize EventBridge to use this role to read logs in Log Service, you must select Alibaba Cloud Service for Selected Trusted Entity and EventBridge for Select Trusted Service when you create the role in the RAM console.
example:testRole
public GetEventStreamingResponseBodyDataSourceSourceSLSParameters()
public static GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters build(Map<String,?> map) throws Exception
Exceptionpublic GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters setConsumePosition(String consumePosition)
public String getConsumePosition()
public GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters setConsumerGroup(String consumerGroup)
public String getConsumerGroup()
public GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters setLogStore(String logStore)
public String getLogStore()
public GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters setProject(String project)
public String getProject()
public GetEventStreamingResponseBody.GetEventStreamingResponseBodyDataSourceSourceSLSParameters setRoleName(String roleName)
public String getRoleName()
Copyright © 2026. All rights reserved.