public static class CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
consumePosition
The starting consumer offset.
|
String |
logStore
The Log Service Logstore.
|
String |
project
The Log Service project.
|
String |
roleName
The role name.
|
| 构造器和说明 |
|---|
CreateEventSourceRequestSourceSLSParameters() |
@NameInMap(value="ConsumePosition") public String consumePosition
The starting consumer offset. The value begin specifies the earliest offset, and the value end specifies the latest offset. You can also specify a time in seconds to start consumption.
example:end
@NameInMap(value="LogStore") public String logStore
The Log Service Logstore.
example:test-logstore
@NameInMap(value="Project") public String project
The Log Service project.
example:test-project
@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 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 CreateEventSourceRequestSourceSLSParameters()
public static CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters build(Map<String,?> map) throws Exception
Exceptionpublic CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters setConsumePosition(String consumePosition)
public String getConsumePosition()
public CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters setLogStore(String logStore)
public String getLogStore()
public CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters setProject(String project)
public String getProject()
public CreateEventSourceRequest.CreateEventSourceRequestSourceSLSParameters setRoleName(String roleName)
public String getRoleName()
Copyright © 2026. All rights reserved.