public static class UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters
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.
|
| 构造器和说明 |
|---|
UpdateEventSourceRequestSourceSLSParameters() |
@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:end
@NameInMap(value="LogStore") public String logStore
The Log Service Logstore.
example:waf-logstore
@NameInMap(value="Project") public String project
The 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 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. For information about the permission policy of this role, see Create a custom event source of the Log Service type.
example:testRole
public UpdateEventSourceRequestSourceSLSParameters()
public static UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters build(Map<String,?> map) throws Exception
Exceptionpublic UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters setConsumePosition(String consumePosition)
public String getConsumePosition()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters setLogStore(String logStore)
public String getLogStore()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters setProject(String project)
public String getProject()
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters setRoleName(String roleName)
public String getRoleName()
Copyright © 2026. All rights reserved.