public class UpdateEventSourceRequest
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
UpdateEventSourceRequest() |
@NameInMap(value="Description") public String description
The description of the event source.
@NameInMap(value="EventBusName") public String eventBusName
The event bus with which the event source is associated.
This parameter is required.
example:my-event-bus
@NameInMap(value="EventSourceName") public String eventSourceName
The name of the event source.
This parameter is required.
example:myrabbitmq.source
@NameInMap(value="ExternalSourceConfig") public Map<String,?> externalSourceConfig
The configurations of the external data source.
example:{\"ConsumePosition\":\"end\",\"LogStore\":\"oss_log\",\"Project\":\"slsaudit-center-5795350335281001-cn-beijing\",\"RoleName\":\"sls-beijing-tf\"}
@NameInMap(value="ExternalSourceType") public String externalSourceType
The type of the external data source.
example:SLS
@NameInMap(value="LinkedExternalSource") public Boolean linkedExternalSource
Specifies whether to connect to an external data source.
example:true
@NameInMap(value="SourceHttpEventParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceHttpEventParameters sourceHttpEventParameters
The parameters that are configured if the event source is HTTP events.
@NameInMap(value="SourceKafkaParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters sourceKafkaParameters
The parameters that are configured if the event source is Message Queue for Apache Kafka.
@NameInMap(value="SourceMNSParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceMNSParameters sourceMNSParameters
The parameters that are configured if the event source is Message Service (MNS).
@NameInMap(value="SourceOSSEventParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceOSSEventParameters sourceOSSEventParameters
@NameInMap(value="SourceRabbitMQParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceRabbitMQParameters sourceRabbitMQParameters
The parameters that are configured if the event source is Message Queue for RabbitMQ.
@NameInMap(value="SourceRocketMQParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceRocketMQParameters sourceRocketMQParameters
The parameters that are configured if the event source is Message Queue for Apache RocketMQ.
@NameInMap(value="SourceSLSParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters sourceSLSParameters
SourceSLSParameters
@NameInMap(value="SourceScheduledEventParameters") public UpdateEventSourceRequest.UpdateEventSourceRequestSourceScheduledEventParameters sourceScheduledEventParameters
The parameters that are configured if you specify scheduled events as the event source.
public static UpdateEventSourceRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateEventSourceRequest setDescription(String description)
public String getDescription()
public UpdateEventSourceRequest setEventBusName(String eventBusName)
public String getEventBusName()
public UpdateEventSourceRequest setEventSourceName(String eventSourceName)
public String getEventSourceName()
public UpdateEventSourceRequest setExternalSourceConfig(Map<String,?> externalSourceConfig)
public UpdateEventSourceRequest setExternalSourceType(String externalSourceType)
public String getExternalSourceType()
public UpdateEventSourceRequest setLinkedExternalSource(Boolean linkedExternalSource)
public Boolean getLinkedExternalSource()
public UpdateEventSourceRequest setSourceHttpEventParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceHttpEventParameters sourceHttpEventParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceHttpEventParameters getSourceHttpEventParameters()
public UpdateEventSourceRequest setSourceKafkaParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters sourceKafkaParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceKafkaParameters getSourceKafkaParameters()
public UpdateEventSourceRequest setSourceMNSParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceMNSParameters sourceMNSParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceMNSParameters getSourceMNSParameters()
public UpdateEventSourceRequest setSourceOSSEventParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceOSSEventParameters sourceOSSEventParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceOSSEventParameters getSourceOSSEventParameters()
public UpdateEventSourceRequest setSourceRabbitMQParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceRabbitMQParameters sourceRabbitMQParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceRabbitMQParameters getSourceRabbitMQParameters()
public UpdateEventSourceRequest setSourceRocketMQParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceRocketMQParameters sourceRocketMQParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceRocketMQParameters getSourceRocketMQParameters()
public UpdateEventSourceRequest setSourceSLSParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters sourceSLSParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceSLSParameters getSourceSLSParameters()
public UpdateEventSourceRequest setSourceScheduledEventParameters(UpdateEventSourceRequest.UpdateEventSourceRequestSourceScheduledEventParameters sourceScheduledEventParameters)
public UpdateEventSourceRequest.UpdateEventSourceRequestSourceScheduledEventParameters getSourceScheduledEventParameters()
Copyright © 2026. All rights reserved.