public static class ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
consumePosition
The consumer offset.
|
String |
logStore
The Simple Log Service Logstore.
|
String |
project
The Simple Log Service project.
|
String |
roleName
The role name.
|
@NameInMap(value="ConsumePosition") public String consumePosition
The 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:end
@NameInMap(value="LogStore") public String logStore
The Simple Log Service Logstore.
example:cloudfirewall-logstore
@NameInMap(value="Project") public String project
The Simple Log Service project.
example:VideoTestProject
@NameInMap(value="RoleName") public String roleName
The role name. If you want to authorize EventBridge to use this role to read logs in Simple 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 Resource Access Management (RAM) console. For information about the permission policy of this role, see Create a custom event source of the Log Service type.
example:testRole
public ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters()
public static ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters build(Map<String,?> map) throws Exception
Exceptionpublic ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters setConsumePosition(String consumePosition)
public String getConsumePosition()
public ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters setLogStore(String logStore)
public String getLogStore()
public ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters setProject(String project)
public String getProject()
public ListUserDefinedEventSourcesResponseBody.ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters setRoleName(String roleName)
public String getRoleName()
Copyright © 2026. All rights reserved.