diff --git a/aimiaobi-20230801/ChangeLog.txt b/aimiaobi-20230801/ChangeLog.txt
index 88ff4dbfbb..33c71ca7a8 100644
--- a/aimiaobi-20230801/ChangeLog.txt
+++ b/aimiaobi-20230801/ChangeLog.txt
@@ -1,3 +1,6 @@
+2025-06-18 Version: 1.0.61
+- Generated java-async 2023-08-01 for AiMiaoBi.
+
2025-06-16 Version: 1.0.60
- Generated java-async 2023-08-01 for AiMiaoBi.
diff --git a/aimiaobi-20230801/pom.xml b/aimiaobi-20230801/pom.xml
index 6c3b3c0e0a..804ee670ab 100644
--- a/aimiaobi-20230801/pom.xml
+++ b/aimiaobi-20230801/pom.xml
@@ -3,7 +3,7 @@
AsyncCreateClipsTaskRequest This parameter is required. 17a299a9-f223-4707-b0dd-4c22519bddf5 This parameter is required. llm-ipe7d81yq4sl5jmk AsyncCreateClipsTaskRequest AsyncCreateClipsTaskResponse AsyncCreateClipsTaskResponseBody Id of the request 1813ceee-7fe5-41b4-87e5-982a4d18cca5 AsyncCreateClipsTaskResponseBody AsyncCreateClipsTimeLineRequest This parameter is required. 7AA2AE16-D873-5C5F-9708-15396C382EB1 This parameter is required. llm-2setzb9x4ewsd AsyncCreateClipsTimeLineResponse AsyncCreateClipsTimeLineResponseBody Id of the request 1813ceee-7fe5-41b4-87e5-982a4d18cca5 AsyncCreateClipsTimeLineResponseBody AsyncEditTimelineRequest This parameter is required. 0dbf1055f8a2475d99904c3b76a0ffba This parameter is required. This parameter is required. llm-az2gglkjauwnnhpq AsyncEditTimelineRequest AsyncEditTimelineRequest This parameter is required. AsyncEditTimelineResponse AsyncEditTimelineResponseBody Id of the request 1813ceee-7fe5-41b4-87e5-982a4d18cca5 AsyncEditTimelineResponseBody AsyncUploadVideoRequest This parameter is required. This parameter is required. llm-xxxx AsyncUploadVideoRequest This parameter is required. 123.mp4 This parameter is required. AsyncUploadVideoResponse AsyncUploadVideoResponseBody Id of the request 94512A33-8EC1-5452-A793-5C91F18ED2F0 AsyncUploadVideoResponseBody AsyncUploadVideoResponseBody GetAutoClipsTaskInfoRequest This parameter is required. 0dbf1055f8a2475d99904c3b76a0ffba This parameter is required. GetAutoClipsTaskInfoResponse GetAutoClipsTaskInfoResponseBody Id of the request 1813ceee-7fe5-41b4-87e5-982a4d18cca5 GetAutoClipsTaskInfoResponseBody GetAutoClipsTaskInfoResponseBody GetAutoClipsTaskInfoResponseBody GetAutoClipsTaskInfoResponseBody You can call the ListClientCertificate operation to perform a paged query of the details about all client certificates and server certificates that you create. The details include the unique identifier, serial number, user information, content, and status of each certificate. You can call the ListClientCertificate operation to perform a paged query of the details about all client certificates and server certificates that you create. The details include the unique identifier, serial number, user information, content, and status of each certificate. CertKmcRep1. userSeal=MHkCIEu94PQAahFWuFk% EtFw%2FkMMBjw8i5bFfSkV%2FIUrcOJD Cert Sign Buf Kmc. userSeal=MHkCIEu94PQAahFWuFk% EtFw%2FkMMBjw8i5bFfSkV%2FIUrcOJD DescribeCACertificateListRequest The number of the page to return. Default value: 1. The number of CA certificates to return on each page. Default value: 20. ListCertRequest ListCertResponse ListCertResponseBody ListCertResponseBody UploadPcaCertToCasRequest This parameter is required. 59425,59426 UploadPcaCertToCasResponse UploadPcaCertToCasResponseBody Id of the request CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D This parameter is required. The SID of the database instance. The system ID (SID) of the database instance.
+ *
+ * list;
+
+ @com.aliyun.core.annotation.NameInMap("MaxResults")
+ private Integer maxResults;
+
+ @com.aliyun.core.annotation.NameInMap("NextToken")
+ private String nextToken;
+
+ @com.aliyun.core.annotation.NameInMap("PageCount")
+ private Integer pageCount;
+
+ @com.aliyun.core.annotation.NameInMap("RequestId")
+ private String requestId;
+
+ @com.aliyun.core.annotation.NameInMap("ShowSize")
+ private Integer showSize;
+
+ @com.aliyun.core.annotation.NameInMap("TotalCount")
+ private Long totalCount;
+
+ private ListCertResponseBody(Builder builder) {
+ this.currentPage = builder.currentPage;
+ this.list = builder.list;
+ this.maxResults = builder.maxResults;
+ this.nextToken = builder.nextToken;
+ this.pageCount = builder.pageCount;
+ this.requestId = builder.requestId;
+ this.showSize = builder.showSize;
+ this.totalCount = builder.totalCount;
+ }
+
+ public static Builder builder() {
+ return new Builder();
+ }
+
+ public static ListCertResponseBody create() {
+ return builder().build();
+ }
+
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ /**
+ * @return currentPage
+ */
+ public Integer getCurrentPage() {
+ return this.currentPage;
+ }
+
+ /**
+ * @return list
+ */
+ public java.util.List
getList() {
+ return this.list;
+ }
+
+ /**
+ * @return maxResults
+ */
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ * @return nextToken
+ */
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * @return pageCount
+ */
+ public Integer getPageCount() {
+ return this.pageCount;
+ }
+
+ /**
+ * @return requestId
+ */
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ /**
+ * @return showSize
+ */
+ public Integer getShowSize() {
+ return this.showSize;
+ }
+
+ /**
+ * @return totalCount
+ */
+ public Long getTotalCount() {
+ return this.totalCount;
+ }
+
+ public static final class Builder {
+ private Integer currentPage;
+ private java.util.List
list;
+ private Integer maxResults;
+ private String nextToken;
+ private Integer pageCount;
+ private String requestId;
+ private Integer showSize;
+ private Long totalCount;
+
+ private Builder() {
+ }
+
+ private Builder(ListCertResponseBody model) {
+ this.currentPage = model.currentPage;
+ this.list = model.list;
+ this.maxResults = model.maxResults;
+ this.nextToken = model.nextToken;
+ this.pageCount = model.pageCount;
+ this.requestId = model.requestId;
+ this.showSize = model.showSize;
+ this.totalCount = model.totalCount;
+ }
+
+ /**
+ * CurrentPage.
+ */
+ public Builder currentPage(Integer currentPage) {
+ this.currentPage = currentPage;
+ return this;
+ }
+
+ /**
+ * List.
+ */
+ public Builder list(java.util.List
list) {
+ this.list = list;
+ return this;
+ }
+
+ /**
+ * MaxResults.
+ */
+ public Builder maxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * NextToken.
+ */
+ public Builder nextToken(String nextToken) {
+ this.nextToken = nextToken;
+ return this;
+ }
+
+ /**
+ * PageCount.
+ */
+ public Builder pageCount(Integer pageCount) {
+ this.pageCount = pageCount;
+ return this;
+ }
+
+ /**
+ * RequestId.
+ */
+ public Builder requestId(String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /**
+ * ShowSize.
+ */
+ public Builder showSize(Integer showSize) {
+ this.showSize = showSize;
+ return this;
+ }
+
+ /**
+ * TotalCount.
+ */
+ public Builder totalCount(Long totalCount) {
+ this.totalCount = totalCount;
+ return this;
+ }
+
+ public ListCertResponseBody build() {
+ return new ListCertResponseBody(this);
+ }
+
+ }
+
+ /**
+ *
+ * {@link ListCertResponseBody} extends {@link TeaModel}
+ *
+ *
This parameter is required.
diff --git a/eventbridge-20200401/ChangeLog.txt b/eventbridge-20200401/ChangeLog.txt index 38950e3adc..0e60cd16d9 100644 --- a/eventbridge-20200401/ChangeLog.txt +++ b/eventbridge-20200401/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-06-18 Version: 5.0.5 +- Generated java-async 2020-04-01 for eventbridge. + 2025-05-27 Version: 5.0.4 - Generated java-async 2020-04-01 for eventbridge. diff --git a/eventbridge-20200401/pom.xml b/eventbridge-20200401/pom.xml index 5feef405dc..35fcfe45ea 100644 --- a/eventbridge-20200401/pom.xml +++ b/eventbridge-20200401/pom.xml @@ -3,7 +3,7 @@You can call this API operation to query all custom event sources.
+ * * @param request the request parameters of TestEventSourceConfig TestEventSourceConfigRequest * @return TestEventSourceConfigResponse */ diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/DefaultAsyncClient.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/DefaultAsyncClient.java index 6651738943..a285092f2b 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/DefaultAsyncClient.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/DefaultAsyncClient.java @@ -868,6 +868,9 @@ public CompletableFutureYou can call this API operation to query all custom event sources.
+ * * @param request the request parameters of TestEventSourceConfig TestEventSourceConfigRequest * @return TestEventSourceConfigResponse */ diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CheckServiceLinkedRoleForProductResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CheckServiceLinkedRoleForProductResponseBody.java index 2faf96f7d2..4bacb02288 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CheckServiceLinkedRoleForProductResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CheckServiceLinkedRoleForProductResponseBody.java @@ -114,7 +114,7 @@ public Builder code(String code) { } /** - * Data. + *The returned data.
*/ public Builder data(Data data) { this.data = data; @@ -204,7 +204,10 @@ private Builder(Data model) { } /** - * CheckPass. + *Indicates whether the service-linked role exists.
+ * + * example: + *true
*/ public Builder checkPass(Boolean checkPass) { this.checkPass = checkPass; @@ -212,7 +215,10 @@ public Builder checkPass(Boolean checkPass) { } /** - * StsRoleName. + *The name of the service-linked role.
+ * + * example: + *AliyunServiceRoleForEventBridgeConnectVPC
*/ public Builder stsRoleName(String stsRoleName) { this.stsRoleName = stsRoleName; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventSourceRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventSourceRequest.java index fbf667f45f..65c85e2581 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventSourceRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventSourceRequest.java @@ -275,6 +275,9 @@ public Builder externalSourceConfig(java.util.MapThe type of the external data source.
+ * + * example: + *RabbitMQ
*/ public Builder externalSourceType(byte[] externalSourceType) { this.putBodyParameter("ExternalSourceType", externalSourceType); @@ -283,7 +286,10 @@ public Builder externalSourceType(byte[] externalSourceType) { } /** - *Specifies whether to connect to an external data source.
+ *Specify whether to connect to an external data source.
+ * + * example: + *true
*/ public Builder linkedExternalSource(Boolean linkedExternalSource) { this.putBodyParameter("LinkedExternalSource", linkedExternalSource); @@ -312,7 +318,7 @@ public Builder sourceKafkaParameters(SourceKafkaParameters sourceKafkaParameters } /** - *The parameters that are configured if the event source is Message Service (MNS). If you specify MNS as the event source, you must configure RegionId, IsBase64Decode, and QueueName.
+ *The parameters that are configured if you specify Simple Message Queue (formerly MNS) (SMQ) as the event source. If you specify SMQ as the event source, you must configure RegionId, IsBase64Decode, and QueueName.
*/ public Builder sourceMNSParameters(SourceMNSParameters sourceMNSParameters) { String sourceMNSParametersShrink = shrink(sourceMNSParameters, "SourceMNSParameters", "json"); @@ -872,7 +878,7 @@ private Builder(SourceMNSParameters model) { } /** - *Specifies whether to enable Base64 decoding. Valid values: true and false.
+ *Specify whether to enable Base64 decoding. Valid values: true and false. If you set this parameter to true, Base64 decoding is enabled.
* * example: *true
@@ -883,7 +889,7 @@ public Builder isBase64Decode(Boolean isBase64Decode) { } /** - *The name of the MNS queue.
+ *The name of the SMQ queue.
* * example: *MyQueue
@@ -894,7 +900,7 @@ public Builder queueName(String queueName) { } /** - *The region where the MNS queue resides. Valid values: cn-qingdao, cn-beijing, cn-zhangjiakou, cn-huhehaote, cn-wulanchabu, cn-hangzhou, cn-shanghai, cn-shenzhen, cn-guangzhou, cn-chengdu, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1, us-west-1, us-east-1, ap-south-1, me-east-1, and cn-north-2-gov-1.
+ *The ID of the region where the SMQ queue resides. Valid values: cn-qingdao, cn-beijing, cn-zhangjiakou, cn-huhehaote, cn-wulanchabu, cn-hangzhou, cn-shanghai, cn-shenzhen, cn-guangzhou, cn-chengdu, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1, us-west-1, us-east-1, ap-south-1, me-east-1, and cn-north-2-gov-1.
* * example: *cn-hangzhou
diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventStreamingRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventStreamingRequest.java index f934855516..0d30a4e067 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventStreamingRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateEventStreamingRequest.java @@ -196,7 +196,7 @@ public Builder filterPattern(String filterPattern) { } /** - *The configurations of the runtime environment.
+ *The parameters that are configured for the runtime environment.
*/ public Builder runOptions(RunOptions runOptions) { String runOptionsShrink = shrink(runOptions, "RunOptions", "json"); @@ -306,7 +306,7 @@ private Builder(BatchWindow model) { } /** - *The maximum number of events that is allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.
+ *The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.
* * example: *100
@@ -317,7 +317,7 @@ public Builder countBasedWindow(Integer countBasedWindow) { } /** - *The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.
+ *The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.
* * example: *10
@@ -333,6 +333,102 @@ public BatchWindow build() { } + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class BusinessOption extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BusinessMode") + private String businessMode; + + @com.aliyun.core.annotation.NameInMap("MaxCapacityUnitCount") + private Long maxCapacityUnitCount; + + @com.aliyun.core.annotation.NameInMap("MinCapacityUnitCount") + private Long minCapacityUnitCount; + + private BusinessOption(Builder builder) { + this.businessMode = builder.businessMode; + this.maxCapacityUnitCount = builder.maxCapacityUnitCount; + this.minCapacityUnitCount = builder.minCapacityUnitCount; + } + + public static Builder builder() { + return new Builder(); + } + + public static BusinessOption create() { + return builder().build(); + } + + /** + * @return businessMode + */ + public String getBusinessMode() { + return this.businessMode; + } + + /** + * @return maxCapacityUnitCount + */ + public Long getMaxCapacityUnitCount() { + return this.maxCapacityUnitCount; + } + + /** + * @return minCapacityUnitCount + */ + public Long getMinCapacityUnitCount() { + return this.minCapacityUnitCount; + } + + public static final class Builder { + private String businessMode; + private Long maxCapacityUnitCount; + private Long minCapacityUnitCount; + + private Builder() { + } + + private Builder(BusinessOption model) { + this.businessMode = model.businessMode; + this.maxCapacityUnitCount = model.maxCapacityUnitCount; + this.minCapacityUnitCount = model.minCapacityUnitCount; + } + + /** + * BusinessMode. + */ + public Builder businessMode(String businessMode) { + this.businessMode = businessMode; + return this; + } + + /** + * MaxCapacityUnitCount. + */ + public Builder maxCapacityUnitCount(Long maxCapacityUnitCount) { + this.maxCapacityUnitCount = maxCapacityUnitCount; + return this; + } + + /** + * MinCapacityUnitCount. + */ + public Builder minCapacityUnitCount(Long minCapacityUnitCount) { + this.minCapacityUnitCount = minCapacityUnitCount; + return this; + } + + public BusinessOption build() { + return new BusinessOption(this); + } + + } + } /** * @@ -594,6 +690,9 @@ public static class RunOptions extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchWindow") private BatchWindow batchWindow; + @com.aliyun.core.annotation.NameInMap("BusinessOption") + private BusinessOption businessOption; + @com.aliyun.core.annotation.NameInMap("DeadLetterQueue") private DeadLetterQueue deadLetterQueue; @@ -611,6 +710,7 @@ public static class RunOptions extends TeaModel { private RunOptions(Builder builder) { this.batchWindow = builder.batchWindow; + this.businessOption = builder.businessOption; this.deadLetterQueue = builder.deadLetterQueue; this.errorsTolerance = builder.errorsTolerance; this.maximumTasks = builder.maximumTasks; @@ -633,6 +733,13 @@ public BatchWindow getBatchWindow() { return this.batchWindow; } + /** + * @return businessOption + */ + public BusinessOption getBusinessOption() { + return this.businessOption; + } + /** * @return deadLetterQueue */ @@ -670,6 +777,7 @@ public Integer getThrottling() { public static final class Builder { private BatchWindow batchWindow; + private BusinessOption businessOption; private DeadLetterQueue deadLetterQueue; private String errorsTolerance; private Long maximumTasks; @@ -681,6 +789,7 @@ private Builder() { private Builder(RunOptions model) { this.batchWindow = model.batchWindow; + this.businessOption = model.businessOption; this.deadLetterQueue = model.deadLetterQueue; this.errorsTolerance = model.errorsTolerance; this.maximumTasks = model.maximumTasks; @@ -697,7 +806,15 @@ public Builder batchWindow(BatchWindow batchWindow) { } /** - *Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.
+ * BusinessOption. + */ + public Builder businessOption(BusinessOption businessOption) { + this.businessOption = businessOption; + return this; + } + + /** + *Specifies whether to enable dead-letter queues. By default, dead-letter queues are disabled. Messages that fail to be pushed after the allowed retries as specified by the retry policy are discarded.
*/ public Builder deadLetterQueue(DeadLetterQueue deadLetterQueue) { this.deadLetterQueue = deadLetterQueue; @@ -720,7 +837,7 @@ public Builder errorsTolerance(String errorsTolerance) { } /** - *The maximum number of concurrent threads.
+ *The maximum number of concurrent tasks.
* * example: *2
@@ -2631,7 +2748,1442 @@ public TopicSchema build() { * *CreateEventStreamingRequest
*/ - public static class TopicType extends TeaModel { + public static class TopicType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private TopicType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static TopicType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(TopicType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public TopicType build() { + return new TopicType(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class SinkDataHubParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Body") + private SinkDataHubParametersBody body; + + @com.aliyun.core.annotation.NameInMap("Project") + private Project project; + + @com.aliyun.core.annotation.NameInMap("RoleName") + private RoleName roleName; + + @com.aliyun.core.annotation.NameInMap("Topic") + private SinkDataHubParametersTopic topic; + + @com.aliyun.core.annotation.NameInMap("TopicSchema") + private TopicSchema topicSchema; + + @com.aliyun.core.annotation.NameInMap("TopicType") + private TopicType topicType; + + private SinkDataHubParameters(Builder builder) { + this.body = builder.body; + this.project = builder.project; + this.roleName = builder.roleName; + this.topic = builder.topic; + this.topicSchema = builder.topicSchema; + this.topicType = builder.topicType; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDataHubParameters create() { + return builder().build(); + } + + /** + * @return body + */ + public SinkDataHubParametersBody getBody() { + return this.body; + } + + /** + * @return project + */ + public Project getProject() { + return this.project; + } + + /** + * @return roleName + */ + public RoleName getRoleName() { + return this.roleName; + } + + /** + * @return topic + */ + public SinkDataHubParametersTopic getTopic() { + return this.topic; + } + + /** + * @return topicSchema + */ + public TopicSchema getTopicSchema() { + return this.topicSchema; + } + + /** + * @return topicType + */ + public TopicType getTopicType() { + return this.topicType; + } + + public static final class Builder { + private SinkDataHubParametersBody body; + private Project project; + private RoleName roleName; + private SinkDataHubParametersTopic topic; + private TopicSchema topicSchema; + private TopicType topicType; + + private Builder() { + } + + private Builder(SinkDataHubParameters model) { + this.body = model.body; + this.project = model.project; + this.roleName = model.roleName; + this.topic = model.topic; + this.topicSchema = model.topicSchema; + this.topicType = model.topicType; + } + + /** + *The BLOB topic.
+ */ + public Builder body(SinkDataHubParametersBody body) { + this.body = body; + return this; + } + + /** + *The name of the DataHub project.
+ */ + public Builder project(Project project) { + this.project = project; + return this; + } + + /** + *The role name.
+ */ + public Builder roleName(RoleName roleName) { + this.roleName = roleName; + return this; + } + + /** + *The name of the DataHub topic.
+ */ + public Builder topic(SinkDataHubParametersTopic topic) { + this.topic = topic; + return this; + } + + /** + *The TUBLE topic.
+ */ + public Builder topicSchema(TopicSchema topicSchema) { + this.topicSchema = topicSchema; + return this; + } + + /** + *The topic type. Valid values:
+ *CreateEventStreamingRequest
+ */ + public static class BeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private BeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static BeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(BeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public BeHttpEndpoint build() { + return new BeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class SinkDorisParametersBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SinkDorisParametersBody(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDorisParametersBody create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SinkDorisParametersBody model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SinkDorisParametersBody build() { + return new SinkDorisParametersBody(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class Database extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Database(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Database create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Database model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Database build() { + return new Database(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class FeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private FeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static FeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(FeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public FeHttpEndpoint build() { + return new FeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class NetworkType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private NetworkType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static NetworkType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(NetworkType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public NetworkType build() { + return new NetworkType(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class Password extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Password(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Password create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Password model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Password build() { + return new Password(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class QueryEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private QueryEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static QueryEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(QueryEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public QueryEndpoint build() { + return new QueryEndpoint(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class SecurityGroupId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SecurityGroupId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SecurityGroupId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SecurityGroupId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SecurityGroupId build() { + return new SecurityGroupId(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class Table extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Table(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Table create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Table model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Table build() { + return new Table(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class UserName extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private UserName(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static UserName create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(UserName model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public UserName build() { + return new UserName(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class VSwitchIds extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private VSwitchIds(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static VSwitchIds create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(VSwitchIds model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The topic type. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public VSwitchIds build() { + return new VSwitchIds(this); + } + + } + + } + /** + * + * {@link CreateEventStreamingRequest} extends {@link TeaModel} + * + *CreateEventStreamingRequest
+ */ + public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -2641,7 +4193,7 @@ public static class TopicType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private TopicType(Builder builder) { + private VpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -2651,7 +4203,7 @@ public static Builder builder() { return new Builder(); } - public static TopicType create() { + public static VpcId create() { return builder().build(); } @@ -2684,7 +4236,7 @@ public static final class Builder { private Builder() { } - private Builder(TopicType model) { + private Builder(VpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -2724,8 +4276,8 @@ public Builder value(String value) { return this; } - public TopicType build() { - return new TopicType(this); + public VpcId build() { + return new VpcId(this); } } @@ -2737,158 +4289,280 @@ public TopicType build() { * *CreateEventStreamingRequest
*/ - public static class SinkDataHubParameters extends TeaModel { + public static class SinkDorisParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BeHttpEndpoint") + private BeHttpEndpoint beHttpEndpoint; + @com.aliyun.core.annotation.NameInMap("Body") - private SinkDataHubParametersBody body; + private SinkDorisParametersBody body; - @com.aliyun.core.annotation.NameInMap("Project") - private Project project; + @com.aliyun.core.annotation.NameInMap("Database") + private Database database; - @com.aliyun.core.annotation.NameInMap("RoleName") - private RoleName roleName; + @com.aliyun.core.annotation.NameInMap("FeHttpEndpoint") + private FeHttpEndpoint feHttpEndpoint; - @com.aliyun.core.annotation.NameInMap("Topic") - private SinkDataHubParametersTopic topic; + @com.aliyun.core.annotation.NameInMap("NetworkType") + private NetworkType networkType; - @com.aliyun.core.annotation.NameInMap("TopicSchema") - private TopicSchema topicSchema; + @com.aliyun.core.annotation.NameInMap("Password") + private Password password; - @com.aliyun.core.annotation.NameInMap("TopicType") - private TopicType topicType; + @com.aliyun.core.annotation.NameInMap("QueryEndpoint") + private QueryEndpoint queryEndpoint; - private SinkDataHubParameters(Builder builder) { + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") + private SecurityGroupId securityGroupId; + + @com.aliyun.core.annotation.NameInMap("Table") + private Table table; + + @com.aliyun.core.annotation.NameInMap("UserName") + private UserName userName; + + @com.aliyun.core.annotation.NameInMap("VSwitchIds") + private VSwitchIds vSwitchIds; + + @com.aliyun.core.annotation.NameInMap("VpcId") + private VpcId vpcId; + + private SinkDorisParameters(Builder builder) { + this.beHttpEndpoint = builder.beHttpEndpoint; this.body = builder.body; - this.project = builder.project; - this.roleName = builder.roleName; - this.topic = builder.topic; - this.topicSchema = builder.topicSchema; - this.topicType = builder.topicType; + this.database = builder.database; + this.feHttpEndpoint = builder.feHttpEndpoint; + this.networkType = builder.networkType; + this.password = builder.password; + this.queryEndpoint = builder.queryEndpoint; + this.securityGroupId = builder.securityGroupId; + this.table = builder.table; + this.userName = builder.userName; + this.vSwitchIds = builder.vSwitchIds; + this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } - public static SinkDataHubParameters create() { + public static SinkDorisParameters create() { return builder().build(); } + /** + * @return beHttpEndpoint + */ + public BeHttpEndpoint getBeHttpEndpoint() { + return this.beHttpEndpoint; + } + /** * @return body */ - public SinkDataHubParametersBody getBody() { + public SinkDorisParametersBody getBody() { return this.body; } /** - * @return project + * @return database */ - public Project getProject() { - return this.project; + public Database getDatabase() { + return this.database; } /** - * @return roleName + * @return feHttpEndpoint */ - public RoleName getRoleName() { - return this.roleName; + public FeHttpEndpoint getFeHttpEndpoint() { + return this.feHttpEndpoint; } /** - * @return topic + * @return networkType */ - public SinkDataHubParametersTopic getTopic() { - return this.topic; + public NetworkType getNetworkType() { + return this.networkType; } /** - * @return topicSchema + * @return password */ - public TopicSchema getTopicSchema() { - return this.topicSchema; + public Password getPassword() { + return this.password; } /** - * @return topicType + * @return queryEndpoint */ - public TopicType getTopicType() { - return this.topicType; + public QueryEndpoint getQueryEndpoint() { + return this.queryEndpoint; + } + + /** + * @return securityGroupId + */ + public SecurityGroupId getSecurityGroupId() { + return this.securityGroupId; + } + + /** + * @return table + */ + public Table getTable() { + return this.table; + } + + /** + * @return userName + */ + public UserName getUserName() { + return this.userName; + } + + /** + * @return vSwitchIds + */ + public VSwitchIds getVSwitchIds() { + return this.vSwitchIds; + } + + /** + * @return vpcId + */ + public VpcId getVpcId() { + return this.vpcId; } public static final class Builder { - private SinkDataHubParametersBody body; - private Project project; - private RoleName roleName; - private SinkDataHubParametersTopic topic; - private TopicSchema topicSchema; - private TopicType topicType; + private BeHttpEndpoint beHttpEndpoint; + private SinkDorisParametersBody body; + private Database database; + private FeHttpEndpoint feHttpEndpoint; + private NetworkType networkType; + private Password password; + private QueryEndpoint queryEndpoint; + private SecurityGroupId securityGroupId; + private Table table; + private UserName userName; + private VSwitchIds vSwitchIds; + private VpcId vpcId; private Builder() { } - private Builder(SinkDataHubParameters model) { + private Builder(SinkDorisParameters model) { + this.beHttpEndpoint = model.beHttpEndpoint; this.body = model.body; - this.project = model.project; - this.roleName = model.roleName; - this.topic = model.topic; - this.topicSchema = model.topicSchema; - this.topicType = model.topicType; + this.database = model.database; + this.feHttpEndpoint = model.feHttpEndpoint; + this.networkType = model.networkType; + this.password = model.password; + this.queryEndpoint = model.queryEndpoint; + this.securityGroupId = model.securityGroupId; + this.table = model.table; + this.userName = model.userName; + this.vSwitchIds = model.vSwitchIds; + this.vpcId = model.vpcId; } + /** + * BeHttpEndpoint. + */ + public Builder beHttpEndpoint(BeHttpEndpoint beHttpEndpoint) { + this.beHttpEndpoint = beHttpEndpoint; + return this; + } + /** *The BLOB topic.
*/ - public Builder body(SinkDataHubParametersBody body) { + public Builder body(SinkDorisParametersBody body) { this.body = body; return this; } /** - *The name of the DataHub project.
+ * Database. */ - public Builder project(Project project) { - this.project = project; + public Builder database(Database database) { + this.database = database; return this; } /** - *The role name.
+ * FeHttpEndpoint. */ - public Builder roleName(RoleName roleName) { - this.roleName = roleName; + public Builder feHttpEndpoint(FeHttpEndpoint feHttpEndpoint) { + this.feHttpEndpoint = feHttpEndpoint; return this; } /** - *The name of the DataHub topic.
+ * NetworkType. */ - public Builder topic(SinkDataHubParametersTopic topic) { - this.topic = topic; + public Builder networkType(NetworkType networkType) { + this.networkType = networkType; return this; } /** - *The TUBLE topic.
+ * Password. */ - public Builder topicSchema(TopicSchema topicSchema) { - this.topicSchema = topicSchema; + public Builder password(Password password) { + this.password = password; return this; } /** - *The topic type. Valid values:
- *CreateEventStreamingRequest
*/ - public static class NetworkType extends TeaModel { + public static class SinkPrometheusParametersNetworkType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -6666,7 +8340,7 @@ public static class NetworkType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private NetworkType(Builder builder) { + private SinkPrometheusParametersNetworkType(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -6676,7 +8350,7 @@ public static Builder builder() { return new Builder(); } - public static NetworkType create() { + public static SinkPrometheusParametersNetworkType create() { return builder().build(); } @@ -6709,7 +8383,7 @@ public static final class Builder { private Builder() { } - private Builder(NetworkType model) { + private Builder(SinkPrometheusParametersNetworkType model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -6745,8 +8419,8 @@ public Builder value(String value) { return this; } - public NetworkType build() { - return new NetworkType(this); + public SinkPrometheusParametersNetworkType build() { + return new SinkPrometheusParametersNetworkType(this); } } @@ -6758,7 +8432,7 @@ public NetworkType build() { * *CreateEventStreamingRequest
*/ - public static class Password extends TeaModel { + public static class SinkPrometheusParametersPassword extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -6768,7 +8442,7 @@ public static class Password extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private Password(Builder builder) { + private SinkPrometheusParametersPassword(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -6778,7 +8452,7 @@ public static Builder builder() { return new Builder(); } - public static Password create() { + public static SinkPrometheusParametersPassword create() { return builder().build(); } @@ -6811,7 +8485,7 @@ public static final class Builder { private Builder() { } - private Builder(Password model) { + private Builder(SinkPrometheusParametersPassword model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -6847,8 +8521,8 @@ public Builder value(String value) { return this; } - public Password build() { - return new Password(this); + public SinkPrometheusParametersPassword build() { + return new SinkPrometheusParametersPassword(this); } } @@ -6860,7 +8534,7 @@ public Password build() { * *CreateEventStreamingRequest
*/ - public static class SecurityGroupId extends TeaModel { + public static class SinkPrometheusParametersSecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -6870,7 +8544,7 @@ public static class SecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private SecurityGroupId(Builder builder) { + private SinkPrometheusParametersSecurityGroupId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -6880,7 +8554,7 @@ public static Builder builder() { return new Builder(); } - public static SecurityGroupId create() { + public static SinkPrometheusParametersSecurityGroupId create() { return builder().build(); } @@ -6913,7 +8587,7 @@ public static final class Builder { private Builder() { } - private Builder(SecurityGroupId model) { + private Builder(SinkPrometheusParametersSecurityGroupId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -6949,8 +8623,8 @@ public Builder value(String value) { return this; } - public SecurityGroupId build() { - return new SecurityGroupId(this); + public SinkPrometheusParametersSecurityGroupId build() { + return new SinkPrometheusParametersSecurityGroupId(this); } } @@ -7265,7 +8939,7 @@ public VSwitchId build() { * *CreateEventStreamingRequest
*/ - public static class VpcId extends TeaModel { + public static class SinkPrometheusParametersVpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -7275,7 +8949,7 @@ public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VpcId(Builder builder) { + private SinkPrometheusParametersVpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -7285,7 +8959,7 @@ public static Builder builder() { return new Builder(); } - public static VpcId create() { + public static SinkPrometheusParametersVpcId create() { return builder().build(); } @@ -7318,7 +8992,7 @@ public static final class Builder { private Builder() { } - private Builder(VpcId model) { + private Builder(SinkPrometheusParametersVpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -7354,8 +9028,8 @@ public Builder value(String value) { return this; } - public VpcId build() { - return new VpcId(this); + public SinkPrometheusParametersVpcId build() { + return new SinkPrometheusParametersVpcId(this); } } @@ -7378,13 +9052,13 @@ public static class SinkPrometheusParameters extends TeaModel { private HeaderParameters headerParameters; @com.aliyun.core.annotation.NameInMap("NetworkType") - private NetworkType networkType; + private SinkPrometheusParametersNetworkType networkType; @com.aliyun.core.annotation.NameInMap("Password") - private Password password; + private SinkPrometheusParametersPassword password; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") - private SecurityGroupId securityGroupId; + private SinkPrometheusParametersSecurityGroupId securityGroupId; @com.aliyun.core.annotation.NameInMap("URL") private URL URL; @@ -7396,7 +9070,7 @@ public static class SinkPrometheusParameters extends TeaModel { private VSwitchId vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") - private VpcId vpcId; + private SinkPrometheusParametersVpcId vpcId; private SinkPrometheusParameters(Builder builder) { this.authorizationType = builder.authorizationType; @@ -7443,21 +9117,21 @@ public HeaderParameters getHeaderParameters() { /** * @return networkType */ - public NetworkType getNetworkType() { + public SinkPrometheusParametersNetworkType getNetworkType() { return this.networkType; } /** * @return password */ - public Password getPassword() { + public SinkPrometheusParametersPassword getPassword() { return this.password; } /** * @return securityGroupId */ - public SecurityGroupId getSecurityGroupId() { + public SinkPrometheusParametersSecurityGroupId getSecurityGroupId() { return this.securityGroupId; } @@ -7485,7 +9159,7 @@ public VSwitchId getVSwitchId() { /** * @return vpcId */ - public VpcId getVpcId() { + public SinkPrometheusParametersVpcId getVpcId() { return this.vpcId; } @@ -7493,13 +9167,13 @@ public static final class Builder { private AuthorizationType authorizationType; private Data data; private HeaderParameters headerParameters; - private NetworkType networkType; - private Password password; - private SecurityGroupId securityGroupId; + private SinkPrometheusParametersNetworkType networkType; + private SinkPrometheusParametersPassword password; + private SinkPrometheusParametersSecurityGroupId securityGroupId; private URL URL; private Username username; private VSwitchId vSwitchId; - private VpcId vpcId; + private SinkPrometheusParametersVpcId vpcId; private Builder() { } @@ -7544,7 +9218,7 @@ public Builder headerParameters(HeaderParameters headerParameters) { /** *The network type.
*/ - public Builder networkType(NetworkType networkType) { + public Builder networkType(SinkPrometheusParametersNetworkType networkType) { this.networkType = networkType; return this; } @@ -7552,7 +9226,7 @@ public Builder networkType(NetworkType networkType) { /** *The password.
*/ - public Builder password(Password password) { + public Builder password(SinkPrometheusParametersPassword password) { this.password = password; return this; } @@ -7560,7 +9234,7 @@ public Builder password(Password password) { /** *The ID of the security group to which the Managed Service for Prometheus instance belongs.
*/ - public Builder securityGroupId(SecurityGroupId securityGroupId) { + public Builder securityGroupId(SinkPrometheusParametersSecurityGroupId securityGroupId) { this.securityGroupId = securityGroupId; return this; } @@ -7592,7 +9266,7 @@ public Builder vSwitchId(VSwitchId vSwitchId) { /** *The ID of the VPC to which the Managed Service for Prometheus instance belongs.
*/ - public Builder vpcId(VpcId vpcId) { + public Builder vpcId(SinkPrometheusParametersVpcId vpcId) { this.vpcId = vpcId; return this; } @@ -10703,7 +12377,7 @@ public SinkRocketMQParametersTopic build() { * *CreateEventStreamingRequest
*/ - public static class VSwitchIds extends TeaModel { + public static class SinkRocketMQParametersVSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -10713,7 +12387,7 @@ public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VSwitchIds(Builder builder) { + private SinkRocketMQParametersVSwitchIds(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -10723,7 +12397,7 @@ public static Builder builder() { return new Builder(); } - public static VSwitchIds create() { + public static SinkRocketMQParametersVSwitchIds create() { return builder().build(); } @@ -10756,7 +12430,7 @@ public static final class Builder { private Builder() { } - private Builder(VSwitchIds model) { + private Builder(SinkRocketMQParametersVSwitchIds model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -10792,8 +12466,8 @@ public Builder value(String value) { return this; } - public VSwitchIds build() { - return new VSwitchIds(this); + public SinkRocketMQParametersVSwitchIds build() { + return new SinkRocketMQParametersVSwitchIds(this); } } @@ -10951,7 +12625,7 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersTopic topic; @com.aliyun.core.annotation.NameInMap("VSwitchIds") - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; @com.aliyun.core.annotation.NameInMap("VpcId") private SinkRocketMQParametersVpcId vpcId; @@ -11084,7 +12758,7 @@ public SinkRocketMQParametersTopic getTopic() { /** * @return vSwitchIds */ - public VSwitchIds getVSwitchIds() { + public SinkRocketMQParametersVSwitchIds getVSwitchIds() { return this.vSwitchIds; } @@ -11110,7 +12784,7 @@ public static final class Builder { private ShardingKey shardingKey; private SinkRocketMQParametersTags tags; private SinkRocketMQParametersTopic topic; - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; private SinkRocketMQParametersVpcId vpcId; private Builder() { @@ -11254,7 +12928,7 @@ public Builder topic(SinkRocketMQParametersTopic topic) { /** *The ID of the vSwitch with which the ApsaraMQ for RocketMQ instance is associated.
*/ - public Builder vSwitchIds(VSwitchIds vSwitchIds) { + public Builder vSwitchIds(SinkRocketMQParametersVSwitchIds vSwitchIds) { this.vSwitchIds = vSwitchIds; return this; } @@ -12208,6 +13882,9 @@ public static class Sink extends TeaModel { @com.aliyun.core.annotation.NameInMap("SinkDataHubParameters") private SinkDataHubParameters sinkDataHubParameters; + @com.aliyun.core.annotation.NameInMap("SinkDorisParameters") + private SinkDorisParameters sinkDorisParameters; + @com.aliyun.core.annotation.NameInMap("SinkFcParameters") private SinkFcParameters sinkFcParameters; @@ -12245,6 +13922,7 @@ private Sink(Builder builder) { this.sinkCustomizedKafkaParameters = builder.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = builder.sinkDashVectorParameters; this.sinkDataHubParameters = builder.sinkDataHubParameters; + this.sinkDorisParameters = builder.sinkDorisParameters; this.sinkFcParameters = builder.sinkFcParameters; this.sinkFnfParameters = builder.sinkFnfParameters; this.sinkKafkaParameters = builder.sinkKafkaParameters; @@ -12307,6 +13985,13 @@ public SinkDataHubParameters getSinkDataHubParameters() { return this.sinkDataHubParameters; } + /** + * @return sinkDorisParameters + */ + public SinkDorisParameters getSinkDorisParameters() { + return this.sinkDorisParameters; + } + /** * @return sinkFcParameters */ @@ -12384,6 +14069,7 @@ public static final class Builder { private SinkCustomizedKafkaParameters sinkCustomizedKafkaParameters; private SinkDashVectorParameters sinkDashVectorParameters; private SinkDataHubParameters sinkDataHubParameters; + private SinkDorisParameters sinkDorisParameters; private SinkFcParameters sinkFcParameters; private SinkFnfParameters sinkFnfParameters; private SinkKafkaParameters sinkKafkaParameters; @@ -12405,6 +14091,7 @@ private Builder(Sink model) { this.sinkCustomizedKafkaParameters = model.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = model.sinkDashVectorParameters; this.sinkDataHubParameters = model.sinkDataHubParameters; + this.sinkDorisParameters = model.sinkDorisParameters; this.sinkFcParameters = model.sinkFcParameters; this.sinkFnfParameters = model.sinkFnfParameters; this.sinkKafkaParameters = model.sinkKafkaParameters; @@ -12465,6 +14152,14 @@ public Builder sinkDataHubParameters(SinkDataHubParameters sinkDataHubParameters return this; } + /** + * SinkDorisParameters. + */ + public Builder sinkDorisParameters(SinkDorisParameters sinkDorisParameters) { + this.sinkDorisParameters = sinkDorisParameters; + return this; + } + /** *The parameters that are configured if you specify Function Compute as the event target.
*/ diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateRuleRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateRuleRequest.java index cca1fdefc7..50523aee2b 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateRuleRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateRuleRequest.java @@ -249,7 +249,10 @@ private Builder(ConcurrentConfig model) { } /** - * Concurrency. + *The concurrency.
+ * + * example: + *2
*/ public Builder concurrency(Long concurrency) { this.concurrency = concurrency; @@ -355,7 +358,7 @@ private Builder(DeadLetterQueue model) { } /** - *The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue. The ARN feature is supported by the following queue types: MNS and Message Queue for Apache RocketMQ.
+ *The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum number of retries is exceeded are written to the dead-letter queue. Queues in SMQ and ApsaraMQ for RocketMQ can be used as dead-letter queues.
* * example: *acs:mns:cn-hangzhou:123456789098****:/queues/rule-deadletterqueue
@@ -483,7 +486,7 @@ private Builder(ParamList model) { } /** - *The format that is used by the event target parameter. For more information, see Limits.
+ *The format of input parameters for the event target. For more information, see Limits.
* * example: *TEMPLATE
@@ -494,7 +497,7 @@ public Builder form(String form) { } /** - *The resource parameter of the event target. For more information, see Limits
+ *The resource key of the event target. For more information, see Limits.
* * example: *body
@@ -505,7 +508,7 @@ public Builder resourceKey(String resourceKey) { } /** - *The template that is used by the event target parameter.
+ *The structure of the template for the event target.
* * example: *The value of ${key} is ${value}!
@@ -666,7 +669,7 @@ private Builder(EventTargets model) { } /** - * ConcurrentConfig. + *The concurrency configuration.
*/ public Builder concurrentConfig(ConcurrentConfig concurrentConfig) { this.concurrentConfig = concurrentConfig; @@ -674,7 +677,7 @@ public Builder concurrentConfig(ConcurrentConfig concurrentConfig) { } /** - *The dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue. The dead-letter queue feature is supported by the following queue types: Message Queue for Apache RocketMQ, Message Service (MNS), Message Queue for Apache Kafka, and EventBridge.
+ *The dead-letter queue. Events that are not processed or whose maximum number of retries is exceeded are written to the dead-letter queue. You can use queues in ApsaraMQ for RocketMQ, Simple Message Queue (SMQ, formerly MNS), and ApsaraMQ for Kafka as dead-letter queues. You can also use event buses in EventBridge as dead-letter queues.
*/ public Builder deadLetterQueue(DeadLetterQueue deadLetterQueue) { this.deadLetterQueue = deadLetterQueue; @@ -693,7 +696,7 @@ public Builder endpoint(String endpoint) { } /** - *The fault tolerance policy. Valid values: ALL: allows fault tolerance. If an error occurs, the event processing is not blocked. If the message fails to be sent after the maximum number of retries specified by the retry policy is reached, the message is delivered to the dead-letter queue or discarded based on your configurations. NONE: does not allow fault tolerance. If an error occurs and the message fails to be sent after the maximum number of retries specified by the retry policy is reached, the event processing is blocked.
+ *The fault tolerance policy. Valid values: ALL and NONE. The value ALL specifies that fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. The value NONE specifies that fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.
* * example: *ALL
@@ -704,7 +707,7 @@ public Builder errorsTolerance(String errorsTolerance) { } /** - *The ID of the custom event target.
+ *The ID of the event target.
*This parameter is required.
* * example: @@ -724,7 +727,7 @@ public Builder paramList(java.util.ListThe retry policy that is used to push events. Valid values: BACKOFF_RETRY: backoff retry. If an event failed to be pushed, it can be retried up to three times. The interval between two consecutive retries is a random value between 10 and 20 seconds. EXPONENTIAL_DECAY_RETRY: exponential decay retry. If an event failed to be pushed, it can be retried up to 176 times. The interval between two consecutive retries exponentially increases to 512 seconds, and the total retry time is one day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, ..., and 512 seconds. The interval of 512 seconds is used for 167 retries.
+ *The retry policy that you want to use to push failed events. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY. BACKOFF_RETRY: A failed event can be retried up to three times. The interval between two consecutive retries is a random value from 10 seconds to 20 seconds. EXPONENTIAL_DECAY_RETRY: A failed event can be retried up to 176 times. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. The total retry time is 1 day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds is used for 167 retries.
* * example: *BACKOFF_RETRY
@@ -735,7 +738,7 @@ public Builder pushRetryStrategy(String pushRetryStrategy) { } /** - *The type of the event target. For more information, see Event target parameters.
+ *The type of the event target. For more information, see Event target parameters.
*This parameter is required.
* * example: diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateServiceLinkedRoleForProductRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateServiceLinkedRoleForProductRequest.java index 5c657c2166..e4594dad32 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateServiceLinkedRoleForProductRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/CreateServiceLinkedRoleForProductRequest.java @@ -60,7 +60,26 @@ private Builder(CreateServiceLinkedRoleForProductRequest request) { } /** - *The name of the cloud service or the name of the service-linked role with which the cloud service is associated.
+ *The name of the cloud service or the name of the service-linked role with which the cloud service is associated. Valid values:
+ *This parameter is required.
* * example: diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/EventCenterQueryEventsRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/EventCenterQueryEventsRequest.java index ccc98bb66e..d52fd7eb58 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/EventCenterQueryEventsRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/EventCenterQueryEventsRequest.java @@ -103,7 +103,7 @@ private Builder(EventCenterQueryEventsRequest request) { } /** - *The parameters in the request body.
+ *The request body.
*This parameter is required.
*/ public Builder body(EventCenterQueryEventsRequestBody body) { @@ -758,7 +758,7 @@ private Builder(Parameters model) { } /** - *Specifies whether to further split the data set based on the column name.
+ *Specifies whether to further split the dataset based on the column name.
*/ public Builder breakdowns(java.util.ListThe time range during which events are queried. Unit: milliseconds. Minimum value: 1000.
+ *The time range during which events are queried. Minimum value: 1000. Unit: milliseconds.
* * example: *1000000
diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/GetEventStreamingResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/GetEventStreamingResponseBody.java index efa1738da4..7f53d47880 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/GetEventStreamingResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/GetEventStreamingResponseBody.java @@ -360,6 +360,102 @@ public BatchWindow build() { } + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class BusinessOption extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BusinessMode") + private String businessMode; + + @com.aliyun.core.annotation.NameInMap("MaxCapacityUnitCount") + private Long maxCapacityUnitCount; + + @com.aliyun.core.annotation.NameInMap("MinCapacityUnitCount") + private Long minCapacityUnitCount; + + private BusinessOption(Builder builder) { + this.businessMode = builder.businessMode; + this.maxCapacityUnitCount = builder.maxCapacityUnitCount; + this.minCapacityUnitCount = builder.minCapacityUnitCount; + } + + public static Builder builder() { + return new Builder(); + } + + public static BusinessOption create() { + return builder().build(); + } + + /** + * @return businessMode + */ + public String getBusinessMode() { + return this.businessMode; + } + + /** + * @return maxCapacityUnitCount + */ + public Long getMaxCapacityUnitCount() { + return this.maxCapacityUnitCount; + } + + /** + * @return minCapacityUnitCount + */ + public Long getMinCapacityUnitCount() { + return this.minCapacityUnitCount; + } + + public static final class Builder { + private String businessMode; + private Long maxCapacityUnitCount; + private Long minCapacityUnitCount; + + private Builder() { + } + + private Builder(BusinessOption model) { + this.businessMode = model.businessMode; + this.maxCapacityUnitCount = model.maxCapacityUnitCount; + this.minCapacityUnitCount = model.minCapacityUnitCount; + } + + /** + * BusinessMode. + */ + public Builder businessMode(String businessMode) { + this.businessMode = businessMode; + return this; + } + + /** + * MaxCapacityUnitCount. + */ + public Builder maxCapacityUnitCount(Long maxCapacityUnitCount) { + this.maxCapacityUnitCount = maxCapacityUnitCount; + return this; + } + + /** + * MinCapacityUnitCount. + */ + public Builder minCapacityUnitCount(Long minCapacityUnitCount) { + this.minCapacityUnitCount = minCapacityUnitCount; + return this; + } + + public BusinessOption build() { + return new BusinessOption(this); + } + + } + } /** * @@ -617,6 +713,9 @@ public static class RunOptions extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchWindow") private BatchWindow batchWindow; + @com.aliyun.core.annotation.NameInMap("BusinessOption") + private BusinessOption businessOption; + @com.aliyun.core.annotation.NameInMap("DeadLetterQueue") private DeadLetterQueue deadLetterQueue; @@ -634,6 +733,7 @@ public static class RunOptions extends TeaModel { private RunOptions(Builder builder) { this.batchWindow = builder.batchWindow; + this.businessOption = builder.businessOption; this.deadLetterQueue = builder.deadLetterQueue; this.errorsTolerance = builder.errorsTolerance; this.maximumTasks = builder.maximumTasks; @@ -656,6 +756,13 @@ public BatchWindow getBatchWindow() { return this.batchWindow; } + /** + * @return businessOption + */ + public BusinessOption getBusinessOption() { + return this.businessOption; + } + /** * @return deadLetterQueue */ @@ -693,6 +800,7 @@ public Integer getThrottling() { public static final class Builder { private BatchWindow batchWindow; + private BusinessOption businessOption; private DeadLetterQueue deadLetterQueue; private String errorsTolerance; private Integer maximumTasks; @@ -704,6 +812,7 @@ private Builder() { private Builder(RunOptions model) { this.batchWindow = model.batchWindow; + this.businessOption = model.businessOption; this.deadLetterQueue = model.deadLetterQueue; this.errorsTolerance = model.errorsTolerance; this.maximumTasks = model.maximumTasks; @@ -719,6 +828,14 @@ public Builder batchWindow(BatchWindow batchWindow) { return this; } + /** + * BusinessOption. + */ + public Builder businessOption(BusinessOption businessOption) { + this.businessOption = businessOption; + return this; + } + /** *Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Messages that fail to be pushed after allowed retries as specified by the retry policy are discarded.
*/ @@ -950,7 +1067,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1046,7 +1166,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1610,7 +1733,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1706,7 +1832,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1802,7 +1931,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1898,7 +2030,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2216,7 +2351,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2312,7 +2450,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2408,7 +2549,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2504,7 +2648,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2600,7 +2747,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2696,7 +2846,10 @@ public Builder template(String template) { } /** - * Value. + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -2748,122 +2901,1595 @@ public static Builder builder() { return new Builder(); } - public static SinkDataHubParameters create() { + public static SinkDataHubParameters create() { + return builder().build(); + } + + /** + * @return body + */ + public SinkDataHubParametersBody getBody() { + return this.body; + } + + /** + * @return project + */ + public Project getProject() { + return this.project; + } + + /** + * @return roleName + */ + public RoleName getRoleName() { + return this.roleName; + } + + /** + * @return topic + */ + public SinkDataHubParametersTopic getTopic() { + return this.topic; + } + + /** + * @return topicSchema + */ + public TopicSchema getTopicSchema() { + return this.topicSchema; + } + + /** + * @return topicType + */ + public TopicType getTopicType() { + return this.topicType; + } + + public static final class Builder { + private SinkDataHubParametersBody body; + private Project project; + private RoleName roleName; + private SinkDataHubParametersTopic topic; + private TopicSchema topicSchema; + private TopicType topicType; + + private Builder() { + } + + private Builder(SinkDataHubParameters model) { + this.body = model.body; + this.project = model.project; + this.roleName = model.roleName; + this.topic = model.topic; + this.topicSchema = model.topicSchema; + this.topicType = model.topicType; + } + + /** + * Body. + */ + public Builder body(SinkDataHubParametersBody body) { + this.body = body; + return this; + } + + /** + * Project. + */ + public Builder project(Project project) { + this.project = project; + return this; + } + + /** + * RoleName. + */ + public Builder roleName(RoleName roleName) { + this.roleName = roleName; + return this; + } + + /** + * Topic. + */ + public Builder topic(SinkDataHubParametersTopic topic) { + this.topic = topic; + return this; + } + + /** + * TopicSchema. + */ + public Builder topicSchema(TopicSchema topicSchema) { + this.topicSchema = topicSchema; + return this; + } + + /** + * TopicType. + */ + public Builder topicType(TopicType topicType) { + this.topicType = topicType; + return this; + } + + public SinkDataHubParameters build() { + return new SinkDataHubParameters(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class BeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private BeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static BeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(BeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public BeHttpEndpoint build() { + return new BeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class SinkDorisParametersBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SinkDorisParametersBody(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDorisParametersBody create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SinkDorisParametersBody model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SinkDorisParametersBody build() { + return new SinkDorisParametersBody(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class Database extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Database(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Database create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Database model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Database build() { + return new Database(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class FeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private FeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static FeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(FeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public FeHttpEndpoint build() { + return new FeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class NetworkType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private NetworkType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static NetworkType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(NetworkType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public NetworkType build() { + return new NetworkType(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class Password extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Password(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Password create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Password model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Password build() { + return new Password(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class QueryEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private QueryEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static QueryEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(QueryEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public QueryEndpoint build() { + return new QueryEndpoint(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class SecurityGroupId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SecurityGroupId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SecurityGroupId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SecurityGroupId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SecurityGroupId build() { + return new SecurityGroupId(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class Table extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Table(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Table create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Table model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Table build() { + return new Table(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class UserName extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private UserName(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static UserName create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(UserName model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public UserName build() { + return new UserName(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class VSwitchIds extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private VSwitchIds(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static VSwitchIds create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(VSwitchIds model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public VSwitchIds build() { + return new VSwitchIds(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class VpcId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private VpcId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static VpcId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(VpcId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *Group ID
+ * + * example: + *GID_EVENTBRIDGE_1736234******
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public VpcId build() { + return new VpcId(this); + } + + } + + } + /** + * + * {@link GetEventStreamingResponseBody} extends {@link TeaModel} + * + *GetEventStreamingResponseBody
+ */ + public static class SinkDorisParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BeHttpEndpoint") + private BeHttpEndpoint beHttpEndpoint; + + @com.aliyun.core.annotation.NameInMap("Body") + private SinkDorisParametersBody body; + + @com.aliyun.core.annotation.NameInMap("Database") + private Database database; + + @com.aliyun.core.annotation.NameInMap("FeHttpEndpoint") + private FeHttpEndpoint feHttpEndpoint; + + @com.aliyun.core.annotation.NameInMap("NetworkType") + private NetworkType networkType; + + @com.aliyun.core.annotation.NameInMap("Password") + private Password password; + + @com.aliyun.core.annotation.NameInMap("QueryEndpoint") + private QueryEndpoint queryEndpoint; + + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") + private SecurityGroupId securityGroupId; + + @com.aliyun.core.annotation.NameInMap("Table") + private Table table; + + @com.aliyun.core.annotation.NameInMap("UserName") + private UserName userName; + + @com.aliyun.core.annotation.NameInMap("VSwitchIds") + private VSwitchIds vSwitchIds; + + @com.aliyun.core.annotation.NameInMap("VpcId") + private VpcId vpcId; + + private SinkDorisParameters(Builder builder) { + this.beHttpEndpoint = builder.beHttpEndpoint; + this.body = builder.body; + this.database = builder.database; + this.feHttpEndpoint = builder.feHttpEndpoint; + this.networkType = builder.networkType; + this.password = builder.password; + this.queryEndpoint = builder.queryEndpoint; + this.securityGroupId = builder.securityGroupId; + this.table = builder.table; + this.userName = builder.userName; + this.vSwitchIds = builder.vSwitchIds; + this.vpcId = builder.vpcId; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDorisParameters create() { return builder().build(); } + /** + * @return beHttpEndpoint + */ + public BeHttpEndpoint getBeHttpEndpoint() { + return this.beHttpEndpoint; + } + /** * @return body */ - public SinkDataHubParametersBody getBody() { + public SinkDorisParametersBody getBody() { return this.body; } /** - * @return project + * @return database */ - public Project getProject() { - return this.project; + public Database getDatabase() { + return this.database; } /** - * @return roleName + * @return feHttpEndpoint */ - public RoleName getRoleName() { - return this.roleName; + public FeHttpEndpoint getFeHttpEndpoint() { + return this.feHttpEndpoint; } /** - * @return topic + * @return networkType */ - public SinkDataHubParametersTopic getTopic() { - return this.topic; + public NetworkType getNetworkType() { + return this.networkType; } /** - * @return topicSchema + * @return password */ - public TopicSchema getTopicSchema() { - return this.topicSchema; + public Password getPassword() { + return this.password; } /** - * @return topicType + * @return queryEndpoint */ - public TopicType getTopicType() { - return this.topicType; + public QueryEndpoint getQueryEndpoint() { + return this.queryEndpoint; + } + + /** + * @return securityGroupId + */ + public SecurityGroupId getSecurityGroupId() { + return this.securityGroupId; + } + + /** + * @return table + */ + public Table getTable() { + return this.table; + } + + /** + * @return userName + */ + public UserName getUserName() { + return this.userName; + } + + /** + * @return vSwitchIds + */ + public VSwitchIds getVSwitchIds() { + return this.vSwitchIds; + } + + /** + * @return vpcId + */ + public VpcId getVpcId() { + return this.vpcId; } public static final class Builder { - private SinkDataHubParametersBody body; - private Project project; - private RoleName roleName; - private SinkDataHubParametersTopic topic; - private TopicSchema topicSchema; - private TopicType topicType; + private BeHttpEndpoint beHttpEndpoint; + private SinkDorisParametersBody body; + private Database database; + private FeHttpEndpoint feHttpEndpoint; + private NetworkType networkType; + private Password password; + private QueryEndpoint queryEndpoint; + private SecurityGroupId securityGroupId; + private Table table; + private UserName userName; + private VSwitchIds vSwitchIds; + private VpcId vpcId; private Builder() { } - private Builder(SinkDataHubParameters model) { + private Builder(SinkDorisParameters model) { + this.beHttpEndpoint = model.beHttpEndpoint; this.body = model.body; - this.project = model.project; - this.roleName = model.roleName; - this.topic = model.topic; - this.topicSchema = model.topicSchema; - this.topicType = model.topicType; + this.database = model.database; + this.feHttpEndpoint = model.feHttpEndpoint; + this.networkType = model.networkType; + this.password = model.password; + this.queryEndpoint = model.queryEndpoint; + this.securityGroupId = model.securityGroupId; + this.table = model.table; + this.userName = model.userName; + this.vSwitchIds = model.vSwitchIds; + this.vpcId = model.vpcId; } + /** + * BeHttpEndpoint. + */ + public Builder beHttpEndpoint(BeHttpEndpoint beHttpEndpoint) { + this.beHttpEndpoint = beHttpEndpoint; + return this; + } + /** * Body. */ - public Builder body(SinkDataHubParametersBody body) { + public Builder body(SinkDorisParametersBody body) { this.body = body; return this; } /** - * Project. + * Database. */ - public Builder project(Project project) { - this.project = project; + public Builder database(Database database) { + this.database = database; return this; } /** - * RoleName. + * FeHttpEndpoint. */ - public Builder roleName(RoleName roleName) { - this.roleName = roleName; + public Builder feHttpEndpoint(FeHttpEndpoint feHttpEndpoint) { + this.feHttpEndpoint = feHttpEndpoint; return this; } /** - * Topic. + * NetworkType. */ - public Builder topic(SinkDataHubParametersTopic topic) { - this.topic = topic; + public Builder networkType(NetworkType networkType) { + this.networkType = networkType; return this; } /** - * TopicSchema. + * Password. */ - public Builder topicSchema(TopicSchema topicSchema) { - this.topicSchema = topicSchema; + public Builder password(Password password) { + this.password = password; return this; } /** - * TopicType. + * QueryEndpoint. */ - public Builder topicType(TopicType topicType) { - this.topicType = topicType; + public Builder queryEndpoint(QueryEndpoint queryEndpoint) { + this.queryEndpoint = queryEndpoint; return this; } - public SinkDataHubParameters build() { - return new SinkDataHubParameters(this); + /** + * SecurityGroupId. + */ + public Builder securityGroupId(SecurityGroupId securityGroupId) { + this.securityGroupId = securityGroupId; + return this; + } + + /** + * Table. + */ + public Builder table(Table table) { + this.table = table; + return this; + } + + /** + * UserName. + */ + public Builder userName(UserName userName) { + this.userName = userName; + return this; + } + + /** + * VSwitchIds. + */ + public Builder vSwitchIds(VSwitchIds vSwitchIds) { + this.vSwitchIds = vSwitchIds; + return this; + } + + /** + * VpcId. + */ + public Builder vpcId(VpcId vpcId) { + this.vpcId = vpcId; + return this; + } + + public SinkDorisParameters build() { + return new SinkDorisParameters(this); } } @@ -3264,6 +4890,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -3366,6 +4995,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -3468,6 +5100,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -3570,6 +5205,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4389,6 +6027,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4491,6 +6132,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4593,6 +6237,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4695,6 +6342,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4797,6 +6447,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -6456,6 +8109,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -6558,6 +8214,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -6874,6 +8533,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -6976,6 +8638,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -7078,6 +8743,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -7613,10 +9281,10 @@ public Builder template(String template) { } /** - *The vhost name of the Message Queue for RabbitMQ instance.
+ *Group ID
* * example: - *rabbit-host
+ *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -7715,10 +9383,10 @@ public Builder template(String template) { } /** - *The vhost name of the Message Queue for RabbitMQ instance.
+ *Group ID
* * example: - *rabbit-host
+ *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -8269,6 +9937,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -8371,6 +10042,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -8473,6 +10147,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -8575,6 +10252,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -8926,7 +10606,7 @@ public SinkRocketMQParametersProperties build() { * *GetEventStreamingResponseBody
*/ - public static class SecurityGroupId extends TeaModel { + public static class SinkRocketMQParametersSecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -8936,7 +10616,7 @@ public static class SecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private SecurityGroupId(Builder builder) { + private SinkRocketMQParametersSecurityGroupId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -8946,7 +10626,7 @@ public static Builder builder() { return new Builder(); } - public static SecurityGroupId create() { + public static SinkRocketMQParametersSecurityGroupId create() { return builder().build(); } @@ -8979,7 +10659,7 @@ public static final class Builder { private Builder() { } - private Builder(SecurityGroupId model) { + private Builder(SinkRocketMQParametersSecurityGroupId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -9020,8 +10700,8 @@ public Builder value(String value) { return this; } - public SecurityGroupId build() { - return new SecurityGroupId(this); + public SinkRocketMQParametersSecurityGroupId build() { + return new SinkRocketMQParametersSecurityGroupId(this); } } @@ -9319,6 +10999,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -9349,7 +11032,7 @@ public SinkRocketMQParametersTopic build() { * *GetEventStreamingResponseBody
*/ - public static class VSwitchIds extends TeaModel { + public static class SinkRocketMQParametersVSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -9359,7 +11042,7 @@ public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VSwitchIds(Builder builder) { + private SinkRocketMQParametersVSwitchIds(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -9369,7 +11052,7 @@ public static Builder builder() { return new Builder(); } - public static VSwitchIds create() { + public static SinkRocketMQParametersVSwitchIds create() { return builder().build(); } @@ -9402,7 +11085,7 @@ public static final class Builder { private Builder() { } - private Builder(VSwitchIds model) { + private Builder(SinkRocketMQParametersVSwitchIds model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -9421,6 +11104,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -9438,8 +11124,8 @@ public Builder value(String value) { return this; } - public VSwitchIds build() { - return new VSwitchIds(this); + public SinkRocketMQParametersVSwitchIds build() { + return new SinkRocketMQParametersVSwitchIds(this); } } @@ -9451,7 +11137,7 @@ public VSwitchIds build() { * *GetEventStreamingResponseBody
*/ - public static class VpcId extends TeaModel { + public static class SinkRocketMQParametersVpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -9461,7 +11147,7 @@ public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VpcId(Builder builder) { + private SinkRocketMQParametersVpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -9471,7 +11157,7 @@ public static Builder builder() { return new Builder(); } - public static VpcId create() { + public static SinkRocketMQParametersVpcId create() { return builder().build(); } @@ -9504,7 +11190,7 @@ public static final class Builder { private Builder() { } - private Builder(VpcId model) { + private Builder(SinkRocketMQParametersVpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -9523,6 +11209,9 @@ public Builder form(String form) { /** *The template style.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -9540,8 +11229,8 @@ public Builder value(String value) { return this; } - public VpcId build() { - return new VpcId(this); + public SinkRocketMQParametersVpcId build() { + return new SinkRocketMQParametersVpcId(this); } } @@ -9585,7 +11274,7 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersProperties properties; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") - private SecurityGroupId securityGroupId; + private SinkRocketMQParametersSecurityGroupId securityGroupId; @com.aliyun.core.annotation.NameInMap("ShardingKey") private ShardingKey shardingKey; @@ -9597,10 +11286,10 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersTopic topic; @com.aliyun.core.annotation.NameInMap("VSwitchIds") - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; @com.aliyun.core.annotation.NameInMap("VpcId") - private VpcId vpcId; + private SinkRocketMQParametersVpcId vpcId; private SinkRocketMQParameters(Builder builder) { this.body = builder.body; @@ -9702,7 +11391,7 @@ public SinkRocketMQParametersProperties getProperties() { /** * @return securityGroupId */ - public SecurityGroupId getSecurityGroupId() { + public SinkRocketMQParametersSecurityGroupId getSecurityGroupId() { return this.securityGroupId; } @@ -9730,14 +11419,14 @@ public SinkRocketMQParametersTopic getTopic() { /** * @return vSwitchIds */ - public VSwitchIds getVSwitchIds() { + public SinkRocketMQParametersVSwitchIds getVSwitchIds() { return this.vSwitchIds; } /** * @return vpcId */ - public VpcId getVpcId() { + public SinkRocketMQParametersVpcId getVpcId() { return this.vpcId; } @@ -9752,12 +11441,12 @@ public static final class Builder { private Keys keys; private Network network; private SinkRocketMQParametersProperties properties; - private SecurityGroupId securityGroupId; + private SinkRocketMQParametersSecurityGroupId securityGroupId; private ShardingKey shardingKey; private Tags tags; private SinkRocketMQParametersTopic topic; - private VSwitchIds vSwitchIds; - private VpcId vpcId; + private SinkRocketMQParametersVSwitchIds vSwitchIds; + private SinkRocketMQParametersVpcId vpcId; private Builder() { } @@ -9864,7 +11553,7 @@ public Builder properties(SinkRocketMQParametersProperties properties) { /** * SecurityGroupId. */ - public Builder securityGroupId(SecurityGroupId securityGroupId) { + public Builder securityGroupId(SinkRocketMQParametersSecurityGroupId securityGroupId) { this.securityGroupId = securityGroupId; return this; } @@ -9896,7 +11585,7 @@ public Builder topic(SinkRocketMQParametersTopic topic) { /** * VSwitchIds. */ - public Builder vSwitchIds(VSwitchIds vSwitchIds) { + public Builder vSwitchIds(SinkRocketMQParametersVSwitchIds vSwitchIds) { this.vSwitchIds = vSwitchIds; return this; } @@ -9904,7 +11593,7 @@ public Builder vSwitchIds(VSwitchIds vSwitchIds) { /** * VpcId. */ - public Builder vpcId(VpcId vpcId) { + public Builder vpcId(SinkRocketMQParametersVpcId vpcId) { this.vpcId = vpcId; return this; } @@ -10850,6 +12539,9 @@ public static class Sink extends TeaModel { @com.aliyun.core.annotation.NameInMap("SinkDataHubParameters") private SinkDataHubParameters sinkDataHubParameters; + @com.aliyun.core.annotation.NameInMap("SinkDorisParameters") + private SinkDorisParameters sinkDorisParameters; + @com.aliyun.core.annotation.NameInMap("SinkFcParameters") private SinkFcParameters sinkFcParameters; @@ -10884,6 +12576,7 @@ private Sink(Builder builder) { this.sinkCustomizedKafkaParameters = builder.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = builder.sinkDashVectorParameters; this.sinkDataHubParameters = builder.sinkDataHubParameters; + this.sinkDorisParameters = builder.sinkDorisParameters; this.sinkFcParameters = builder.sinkFcParameters; this.sinkFnfParameters = builder.sinkFnfParameters; this.sinkKafkaParameters = builder.sinkKafkaParameters; @@ -10945,6 +12638,13 @@ public SinkDataHubParameters getSinkDataHubParameters() { return this.sinkDataHubParameters; } + /** + * @return sinkDorisParameters + */ + public SinkDorisParameters getSinkDorisParameters() { + return this.sinkDorisParameters; + } + /** * @return sinkFcParameters */ @@ -11015,6 +12715,7 @@ public static final class Builder { private SinkCustomizedKafkaParameters sinkCustomizedKafkaParameters; private SinkDashVectorParameters sinkDashVectorParameters; private SinkDataHubParameters sinkDataHubParameters; + private SinkDorisParameters sinkDorisParameters; private SinkFcParameters sinkFcParameters; private SinkFnfParameters sinkFnfParameters; private SinkKafkaParameters sinkKafkaParameters; @@ -11035,6 +12736,7 @@ private Builder(Sink model) { this.sinkCustomizedKafkaParameters = model.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = model.sinkDashVectorParameters; this.sinkDataHubParameters = model.sinkDataHubParameters; + this.sinkDorisParameters = model.sinkDorisParameters; this.sinkFcParameters = model.sinkFcParameters; this.sinkFnfParameters = model.sinkFnfParameters; this.sinkKafkaParameters = model.sinkKafkaParameters; @@ -11047,7 +12749,7 @@ private Builder(Sink model) { } /** - * SinkApacheRocketMQCheckpointParameters. + *Sink Apache RocketMQ Checkpoint Parameters
*/ public Builder sinkApacheRocketMQCheckpointParameters(SinkApacheRocketMQCheckpointParameters sinkApacheRocketMQCheckpointParameters) { this.sinkApacheRocketMQCheckpointParameters = sinkApacheRocketMQCheckpointParameters; @@ -11055,7 +12757,7 @@ public Builder sinkApacheRocketMQCheckpointParameters(SinkApacheRocketMQCheckpoi } /** - * SinkBaiLianParameters. + *Sink BaiLian Parameters
*/ public Builder sinkBaiLianParameters(SinkBaiLianParameters sinkBaiLianParameters) { this.sinkBaiLianParameters = sinkBaiLianParameters; @@ -11094,6 +12796,14 @@ public Builder sinkDataHubParameters(SinkDataHubParameters sinkDataHubParameters return this; } + /** + * SinkDorisParameters. + */ + public Builder sinkDorisParameters(SinkDorisParameters sinkDorisParameters) { + this.sinkDorisParameters = sinkDorisParameters; + return this; + } + /** *The parameters that are returned if the event target is Function Compute.
*/ @@ -11127,7 +12837,7 @@ public Builder sinkMNSParameters(SinkMNSParameters sinkMNSParameters) { } /** - * SinkOpenSourceRabbitMQParameters. + *Sink Open Source RabbitMQ Parameters
*/ public Builder sinkOpenSourceRabbitMQParameters(SinkOpenSourceRabbitMQParameters sinkOpenSourceRabbitMQParameters) { this.sinkOpenSourceRabbitMQParameters = sinkOpenSourceRabbitMQParameters; @@ -11143,7 +12853,7 @@ public Builder sinkRabbitMQParameters(SinkRabbitMQParameters sinkRabbitMQParamet } /** - * SinkRocketMQCheckpointParameters. + *Sink RocketMQ Checkpoint Parameters
*/ public Builder sinkRocketMQCheckpointParameters(SinkRocketMQCheckpointParameters sinkRocketMQCheckpointParameters) { this.sinkRocketMQCheckpointParameters = sinkRocketMQCheckpointParameters; @@ -11338,7 +13048,10 @@ public Builder instanceEndpoint(String instanceEndpoint) { } /** - *The target service type is Message Queue for Apache RocketMQ.
+ *The ID of the Apache RocketMQ instance.
+ * + * example: + *MQ_INST_164901546557****_BAAN****
*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -11402,7 +13115,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - * VpcId. + *VPC ID。
+ * + * example: + *vpc-adw1awdw*****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -11627,7 +13343,10 @@ private Builder(SourceCustomizedKafkaParameters model) { } /** - *The target service type is Message Queue for Apache RocketMQ.
+ *The ID of the Apache RocketMQ instance.
+ * + * example: + *MQ_INST_164901546557****_BAAN****
*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -14207,7 +15926,7 @@ private Builder(Source model) { } /** - * SourceApacheRocketMQCheckpointParameters. + *The parameters that are returned if Apache RocketMQ (Offset Data) is specified as the event source.
*/ public Builder sourceApacheRocketMQCheckpointParameters(SourceApacheRocketMQCheckpointParameters sourceApacheRocketMQCheckpointParameters) { this.sourceApacheRocketMQCheckpointParameters = sourceApacheRocketMQCheckpointParameters; @@ -14596,7 +16315,7 @@ public Builder sink(Sink sink) { } /** - *The event provider, which is also known as the event source.
+ *The event source.
*/ public Builder source(Source source) { this.source = source; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListAliyunOfficialEventSourcesResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListAliyunOfficialEventSourcesResponseBody.java index a118a35ff7..23f8dbf9bb 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListAliyunOfficialEventSourcesResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListAliyunOfficialEventSourcesResponseBody.java @@ -117,7 +117,7 @@ public Builder code(String code) { } /** - *The returned data.
+ *The data returned.
*/ public Builder data(Data data) { this.data = data; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListEventStreamingsResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListEventStreamingsResponseBody.java index 7244dd606d..67f6f0f905 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListEventStreamingsResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListEventStreamingsResponseBody.java @@ -245,6 +245,102 @@ public BatchWindow build() { } + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class BusinessOption extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BusinessMode") + private String businessMode; + + @com.aliyun.core.annotation.NameInMap("MaxCapacityUnitCount") + private Long maxCapacityUnitCount; + + @com.aliyun.core.annotation.NameInMap("MinCapacityUnitCount") + private Long minCapacityUnitCount; + + private BusinessOption(Builder builder) { + this.businessMode = builder.businessMode; + this.maxCapacityUnitCount = builder.maxCapacityUnitCount; + this.minCapacityUnitCount = builder.minCapacityUnitCount; + } + + public static Builder builder() { + return new Builder(); + } + + public static BusinessOption create() { + return builder().build(); + } + + /** + * @return businessMode + */ + public String getBusinessMode() { + return this.businessMode; + } + + /** + * @return maxCapacityUnitCount + */ + public Long getMaxCapacityUnitCount() { + return this.maxCapacityUnitCount; + } + + /** + * @return minCapacityUnitCount + */ + public Long getMinCapacityUnitCount() { + return this.minCapacityUnitCount; + } + + public static final class Builder { + private String businessMode; + private Long maxCapacityUnitCount; + private Long minCapacityUnitCount; + + private Builder() { + } + + private Builder(BusinessOption model) { + this.businessMode = model.businessMode; + this.maxCapacityUnitCount = model.maxCapacityUnitCount; + this.minCapacityUnitCount = model.minCapacityUnitCount; + } + + /** + * BusinessMode. + */ + public Builder businessMode(String businessMode) { + this.businessMode = businessMode; + return this; + } + + /** + * MaxCapacityUnitCount. + */ + public Builder maxCapacityUnitCount(Long maxCapacityUnitCount) { + this.maxCapacityUnitCount = maxCapacityUnitCount; + return this; + } + + /** + * MinCapacityUnitCount. + */ + public Builder minCapacityUnitCount(Long minCapacityUnitCount) { + this.minCapacityUnitCount = minCapacityUnitCount; + return this; + } + + public BusinessOption build() { + return new BusinessOption(this); + } + + } + } /** * @@ -502,6 +598,9 @@ public static class RunOptions extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchWindow") private BatchWindow batchWindow; + @com.aliyun.core.annotation.NameInMap("BusinessOption") + private BusinessOption businessOption; + @com.aliyun.core.annotation.NameInMap("DeadLetterQueue") private DeadLetterQueue deadLetterQueue; @@ -519,6 +618,7 @@ public static class RunOptions extends TeaModel { private RunOptions(Builder builder) { this.batchWindow = builder.batchWindow; + this.businessOption = builder.businessOption; this.deadLetterQueue = builder.deadLetterQueue; this.errorsTolerance = builder.errorsTolerance; this.maximumTasks = builder.maximumTasks; @@ -541,6 +641,13 @@ public BatchWindow getBatchWindow() { return this.batchWindow; } + /** + * @return businessOption + */ + public BusinessOption getBusinessOption() { + return this.businessOption; + } + /** * @return deadLetterQueue */ @@ -578,6 +685,7 @@ public Integer getThrottling() { public static final class Builder { private BatchWindow batchWindow; + private BusinessOption businessOption; private DeadLetterQueue deadLetterQueue; private String errorsTolerance; private Integer maximumTasks; @@ -589,6 +697,7 @@ private Builder() { private Builder(RunOptions model) { this.batchWindow = model.batchWindow; + this.businessOption = model.businessOption; this.deadLetterQueue = model.deadLetterQueue; this.errorsTolerance = model.errorsTolerance; this.maximumTasks = model.maximumTasks; @@ -604,6 +713,14 @@ public Builder batchWindow(BatchWindow batchWindow) { return this; } + /** + * BusinessOption. + */ + public Builder businessOption(BusinessOption businessOption) { + this.businessOption = businessOption; + return this; + } + /** *Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.
*/ @@ -1174,7 +1291,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - * VpcId. + *VPC ID。
+ * + * example: + *vpc-2zehizpoendb3****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -2313,7 +2433,1318 @@ public RoleName build() { * *ListEventStreamingsResponseBody
*/ - public static class SinkDataHubParametersTopic extends TeaModel { + public static class SinkDataHubParametersTopic extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SinkDataHubParametersTopic(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDataHubParametersTopic create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SinkDataHubParametersTopic model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SinkDataHubParametersTopic build() { + return new SinkDataHubParametersTopic(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class TopicSchema extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private TopicSchema(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static TopicSchema create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(TopicSchema model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public TopicSchema build() { + return new TopicSchema(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class TopicType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private TopicType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static TopicType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(TopicType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public TopicType build() { + return new TopicType(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class SinkDataHubParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Body") + private SinkDataHubParametersBody body; + + @com.aliyun.core.annotation.NameInMap("Project") + private Project project; + + @com.aliyun.core.annotation.NameInMap("RoleName") + private RoleName roleName; + + @com.aliyun.core.annotation.NameInMap("Topic") + private SinkDataHubParametersTopic topic; + + @com.aliyun.core.annotation.NameInMap("TopicSchema") + private TopicSchema topicSchema; + + @com.aliyun.core.annotation.NameInMap("TopicType") + private TopicType topicType; + + private SinkDataHubParameters(Builder builder) { + this.body = builder.body; + this.project = builder.project; + this.roleName = builder.roleName; + this.topic = builder.topic; + this.topicSchema = builder.topicSchema; + this.topicType = builder.topicType; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDataHubParameters create() { + return builder().build(); + } + + /** + * @return body + */ + public SinkDataHubParametersBody getBody() { + return this.body; + } + + /** + * @return project + */ + public Project getProject() { + return this.project; + } + + /** + * @return roleName + */ + public RoleName getRoleName() { + return this.roleName; + } + + /** + * @return topic + */ + public SinkDataHubParametersTopic getTopic() { + return this.topic; + } + + /** + * @return topicSchema + */ + public TopicSchema getTopicSchema() { + return this.topicSchema; + } + + /** + * @return topicType + */ + public TopicType getTopicType() { + return this.topicType; + } + + public static final class Builder { + private SinkDataHubParametersBody body; + private Project project; + private RoleName roleName; + private SinkDataHubParametersTopic topic; + private TopicSchema topicSchema; + private TopicType topicType; + + private Builder() { + } + + private Builder(SinkDataHubParameters model) { + this.body = model.body; + this.project = model.project; + this.roleName = model.roleName; + this.topic = model.topic; + this.topicSchema = model.topicSchema; + this.topicType = model.topicType; + } + + /** + * Body. + */ + public Builder body(SinkDataHubParametersBody body) { + this.body = body; + return this; + } + + /** + * Project. + */ + public Builder project(Project project) { + this.project = project; + return this; + } + + /** + * RoleName. + */ + public Builder roleName(RoleName roleName) { + this.roleName = roleName; + return this; + } + + /** + * Topic. + */ + public Builder topic(SinkDataHubParametersTopic topic) { + this.topic = topic; + return this; + } + + /** + * TopicSchema. + */ + public Builder topicSchema(TopicSchema topicSchema) { + this.topicSchema = topicSchema; + return this; + } + + /** + * TopicType. + */ + public Builder topicType(TopicType topicType) { + this.topicType = topicType; + return this; + } + + public SinkDataHubParameters build() { + return new SinkDataHubParameters(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class BeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private BeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static BeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(BeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public BeHttpEndpoint build() { + return new BeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class SinkDorisParametersBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SinkDorisParametersBody(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDorisParametersBody create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SinkDorisParametersBody model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SinkDorisParametersBody build() { + return new SinkDorisParametersBody(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class Database extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Database(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Database create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Database model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Database build() { + return new Database(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class FeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private FeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static FeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(FeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public FeHttpEndpoint build() { + return new FeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class NetworkType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private NetworkType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static NetworkType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(NetworkType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public NetworkType build() { + return new NetworkType(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class Password extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Password(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Password create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Password model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Password build() { + return new Password(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class QueryEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private QueryEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static QueryEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(QueryEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public QueryEndpoint build() { + return new QueryEndpoint(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class SecurityGroupId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SecurityGroupId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SecurityGroupId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SecurityGroupId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SecurityGroupId build() { + return new SecurityGroupId(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class Table extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Table(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Table create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Table model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + * Form. + */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + * Template. + */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + * Value. + */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Table build() { + return new Table(this); + } + + } + + } + /** + * + * {@link ListEventStreamingsResponseBody} extends {@link TeaModel} + * + *ListEventStreamingsResponseBody
+ */ + public static class UserName extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -2323,7 +3754,7 @@ public static class SinkDataHubParametersTopic extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private SinkDataHubParametersTopic(Builder builder) { + private UserName(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -2333,7 +3764,7 @@ public static Builder builder() { return new Builder(); } - public static SinkDataHubParametersTopic create() { + public static UserName create() { return builder().build(); } @@ -2366,7 +3797,7 @@ public static final class Builder { private Builder() { } - private Builder(SinkDataHubParametersTopic model) { + private Builder(UserName model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -2396,8 +3827,8 @@ public Builder value(String value) { return this; } - public SinkDataHubParametersTopic build() { - return new SinkDataHubParametersTopic(this); + public UserName build() { + return new UserName(this); } } @@ -2409,7 +3840,7 @@ public SinkDataHubParametersTopic build() { * *ListEventStreamingsResponseBody
*/ - public static class TopicSchema extends TeaModel { + public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -2419,7 +3850,7 @@ public static class TopicSchema extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private TopicSchema(Builder builder) { + private VSwitchIds(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -2429,7 +3860,7 @@ public static Builder builder() { return new Builder(); } - public static TopicSchema create() { + public static VSwitchIds create() { return builder().build(); } @@ -2462,7 +3893,7 @@ public static final class Builder { private Builder() { } - private Builder(TopicSchema model) { + private Builder(VSwitchIds model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -2492,8 +3923,8 @@ public Builder value(String value) { return this; } - public TopicSchema build() { - return new TopicSchema(this); + public VSwitchIds build() { + return new VSwitchIds(this); } } @@ -2505,7 +3936,7 @@ public TopicSchema build() { * *ListEventStreamingsResponseBody
*/ - public static class TopicType extends TeaModel { + public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -2515,7 +3946,7 @@ public static class TopicType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private TopicType(Builder builder) { + private VpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -2525,7 +3956,7 @@ public static Builder builder() { return new Builder(); } - public static TopicType create() { + public static VpcId create() { return builder().build(); } @@ -2558,7 +3989,7 @@ public static final class Builder { private Builder() { } - private Builder(TopicType model) { + private Builder(VpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -2588,8 +4019,8 @@ public Builder value(String value) { return this; } - public TopicType build() { - return new TopicType(this); + public VpcId build() { + return new VpcId(this); } } @@ -2601,154 +4032,283 @@ public TopicType build() { * *ListEventStreamingsResponseBody
*/ - public static class SinkDataHubParameters extends TeaModel { + public static class SinkDorisParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BeHttpEndpoint") + private BeHttpEndpoint beHttpEndpoint; + @com.aliyun.core.annotation.NameInMap("Body") - private SinkDataHubParametersBody body; + private SinkDorisParametersBody body; - @com.aliyun.core.annotation.NameInMap("Project") - private Project project; + @com.aliyun.core.annotation.NameInMap("Database") + private Database database; - @com.aliyun.core.annotation.NameInMap("RoleName") - private RoleName roleName; + @com.aliyun.core.annotation.NameInMap("FeHttpEndpoint") + private FeHttpEndpoint feHttpEndpoint; - @com.aliyun.core.annotation.NameInMap("Topic") - private SinkDataHubParametersTopic topic; + @com.aliyun.core.annotation.NameInMap("NetworkType") + private NetworkType networkType; - @com.aliyun.core.annotation.NameInMap("TopicSchema") - private TopicSchema topicSchema; + @com.aliyun.core.annotation.NameInMap("Password") + private Password password; - @com.aliyun.core.annotation.NameInMap("TopicType") - private TopicType topicType; + @com.aliyun.core.annotation.NameInMap("QueryEndpoint") + private QueryEndpoint queryEndpoint; - private SinkDataHubParameters(Builder builder) { + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") + private SecurityGroupId securityGroupId; + + @com.aliyun.core.annotation.NameInMap("Table") + private Table table; + + @com.aliyun.core.annotation.NameInMap("UserName") + private UserName userName; + + @com.aliyun.core.annotation.NameInMap("VSwitchIds") + private VSwitchIds vSwitchIds; + + @com.aliyun.core.annotation.NameInMap("VpcId") + private VpcId vpcId; + + private SinkDorisParameters(Builder builder) { + this.beHttpEndpoint = builder.beHttpEndpoint; this.body = builder.body; - this.project = builder.project; - this.roleName = builder.roleName; - this.topic = builder.topic; - this.topicSchema = builder.topicSchema; - this.topicType = builder.topicType; + this.database = builder.database; + this.feHttpEndpoint = builder.feHttpEndpoint; + this.networkType = builder.networkType; + this.password = builder.password; + this.queryEndpoint = builder.queryEndpoint; + this.securityGroupId = builder.securityGroupId; + this.table = builder.table; + this.userName = builder.userName; + this.vSwitchIds = builder.vSwitchIds; + this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } - public static SinkDataHubParameters create() { + public static SinkDorisParameters create() { return builder().build(); } + /** + * @return beHttpEndpoint + */ + public BeHttpEndpoint getBeHttpEndpoint() { + return this.beHttpEndpoint; + } + /** * @return body */ - public SinkDataHubParametersBody getBody() { + public SinkDorisParametersBody getBody() { return this.body; } /** - * @return project + * @return database */ - public Project getProject() { - return this.project; + public Database getDatabase() { + return this.database; } /** - * @return roleName + * @return feHttpEndpoint */ - public RoleName getRoleName() { - return this.roleName; + public FeHttpEndpoint getFeHttpEndpoint() { + return this.feHttpEndpoint; } /** - * @return topic + * @return networkType */ - public SinkDataHubParametersTopic getTopic() { - return this.topic; + public NetworkType getNetworkType() { + return this.networkType; } /** - * @return topicSchema + * @return password */ - public TopicSchema getTopicSchema() { - return this.topicSchema; + public Password getPassword() { + return this.password; } /** - * @return topicType + * @return queryEndpoint */ - public TopicType getTopicType() { - return this.topicType; + public QueryEndpoint getQueryEndpoint() { + return this.queryEndpoint; + } + + /** + * @return securityGroupId + */ + public SecurityGroupId getSecurityGroupId() { + return this.securityGroupId; + } + + /** + * @return table + */ + public Table getTable() { + return this.table; + } + + /** + * @return userName + */ + public UserName getUserName() { + return this.userName; + } + + /** + * @return vSwitchIds + */ + public VSwitchIds getVSwitchIds() { + return this.vSwitchIds; + } + + /** + * @return vpcId + */ + public VpcId getVpcId() { + return this.vpcId; } public static final class Builder { - private SinkDataHubParametersBody body; - private Project project; - private RoleName roleName; - private SinkDataHubParametersTopic topic; - private TopicSchema topicSchema; - private TopicType topicType; + private BeHttpEndpoint beHttpEndpoint; + private SinkDorisParametersBody body; + private Database database; + private FeHttpEndpoint feHttpEndpoint; + private NetworkType networkType; + private Password password; + private QueryEndpoint queryEndpoint; + private SecurityGroupId securityGroupId; + private Table table; + private UserName userName; + private VSwitchIds vSwitchIds; + private VpcId vpcId; private Builder() { } - private Builder(SinkDataHubParameters model) { + private Builder(SinkDorisParameters model) { + this.beHttpEndpoint = model.beHttpEndpoint; this.body = model.body; - this.project = model.project; - this.roleName = model.roleName; - this.topic = model.topic; - this.topicSchema = model.topicSchema; - this.topicType = model.topicType; + this.database = model.database; + this.feHttpEndpoint = model.feHttpEndpoint; + this.networkType = model.networkType; + this.password = model.password; + this.queryEndpoint = model.queryEndpoint; + this.securityGroupId = model.securityGroupId; + this.table = model.table; + this.userName = model.userName; + this.vSwitchIds = model.vSwitchIds; + this.vpcId = model.vpcId; } + /** + * BeHttpEndpoint. + */ + public Builder beHttpEndpoint(BeHttpEndpoint beHttpEndpoint) { + this.beHttpEndpoint = beHttpEndpoint; + return this; + } + /** * Body. */ - public Builder body(SinkDataHubParametersBody body) { + public Builder body(SinkDorisParametersBody body) { this.body = body; return this; } /** - * Project. + * Database. */ - public Builder project(Project project) { - this.project = project; + public Builder database(Database database) { + this.database = database; return this; } /** - * RoleName. + * FeHttpEndpoint. */ - public Builder roleName(RoleName roleName) { - this.roleName = roleName; + public Builder feHttpEndpoint(FeHttpEndpoint feHttpEndpoint) { + this.feHttpEndpoint = feHttpEndpoint; return this; } /** - * Topic. + * NetworkType. */ - public Builder topic(SinkDataHubParametersTopic topic) { - this.topic = topic; + public Builder networkType(NetworkType networkType) { + this.networkType = networkType; return this; } /** - * TopicSchema. + * Password. */ - public Builder topicSchema(TopicSchema topicSchema) { - this.topicSchema = topicSchema; + public Builder password(Password password) { + this.password = password; return this; } /** - * TopicType. + * QueryEndpoint. */ - public Builder topicType(TopicType topicType) { - this.topicType = topicType; + public Builder queryEndpoint(QueryEndpoint queryEndpoint) { + this.queryEndpoint = queryEndpoint; return this; } - public SinkDataHubParameters build() { - return new SinkDataHubParameters(this); + /** + * SecurityGroupId. + */ + public Builder securityGroupId(SecurityGroupId securityGroupId) { + this.securityGroupId = securityGroupId; + return this; + } + + /** + * Table. + */ + public Builder table(Table table) { + this.table = table; + return this; + } + + /** + * UserName. + */ + public Builder userName(UserName userName) { + this.userName = userName; + return this; + } + + /** + * VSwitchIds. + */ + public Builder vSwitchIds(VSwitchIds vSwitchIds) { + this.vSwitchIds = vSwitchIds; + return this; + } + + /** + *VPC ID。
+ * + * example: + *vpc-2zehizpoendb3****
+ */ + public Builder vpcId(VpcId vpcId) { + this.vpcId = vpcId; + return this; + } + + public SinkDorisParameters build() { + return new SinkDorisParameters(this); } } @@ -6031,7 +7591,10 @@ public Builder virtualHostName(String virtualHostName) { } /** - * VpcId. + *VPC ID。
+ * + * example: + *vpc-2zehizpoendb3****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -8700,7 +10263,7 @@ public SinkRocketMQParametersProperties build() { * *ListEventStreamingsResponseBody
*/ - public static class SecurityGroupId extends TeaModel { + public static class SinkRocketMQParametersSecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -8710,7 +10273,7 @@ public static class SecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private SecurityGroupId(Builder builder) { + private SinkRocketMQParametersSecurityGroupId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -8720,7 +10283,7 @@ public static Builder builder() { return new Builder(); } - public static SecurityGroupId create() { + public static SinkRocketMQParametersSecurityGroupId create() { return builder().build(); } @@ -8753,7 +10316,7 @@ public static final class Builder { private Builder() { } - private Builder(SecurityGroupId model) { + private Builder(SinkRocketMQParametersSecurityGroupId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -8794,8 +10357,8 @@ public Builder value(String value) { return this; } - public SecurityGroupId build() { - return new SecurityGroupId(this); + public SinkRocketMQParametersSecurityGroupId build() { + return new SinkRocketMQParametersSecurityGroupId(this); } } @@ -9123,7 +10686,7 @@ public SinkRocketMQParametersTopic build() { * *ListEventStreamingsResponseBody
*/ - public static class VSwitchIds extends TeaModel { + public static class SinkRocketMQParametersVSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -9133,7 +10696,7 @@ public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VSwitchIds(Builder builder) { + private SinkRocketMQParametersVSwitchIds(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -9143,7 +10706,7 @@ public static Builder builder() { return new Builder(); } - public static VSwitchIds create() { + public static SinkRocketMQParametersVSwitchIds create() { return builder().build(); } @@ -9176,7 +10739,7 @@ public static final class Builder { private Builder() { } - private Builder(VSwitchIds model) { + private Builder(SinkRocketMQParametersVSwitchIds model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -9212,8 +10775,8 @@ public Builder value(String value) { return this; } - public VSwitchIds build() { - return new VSwitchIds(this); + public SinkRocketMQParametersVSwitchIds build() { + return new SinkRocketMQParametersVSwitchIds(this); } } @@ -9225,7 +10788,7 @@ public VSwitchIds build() { * *ListEventStreamingsResponseBody
*/ - public static class VpcId extends TeaModel { + public static class SinkRocketMQParametersVpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -9235,7 +10798,7 @@ public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VpcId(Builder builder) { + private SinkRocketMQParametersVpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -9245,7 +10808,7 @@ public static Builder builder() { return new Builder(); } - public static VpcId create() { + public static SinkRocketMQParametersVpcId create() { return builder().build(); } @@ -9278,7 +10841,7 @@ public static final class Builder { private Builder() { } - private Builder(VpcId model) { + private Builder(SinkRocketMQParametersVpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -9314,8 +10877,8 @@ public Builder value(String value) { return this; } - public VpcId build() { - return new VpcId(this); + public SinkRocketMQParametersVpcId build() { + return new SinkRocketMQParametersVpcId(this); } } @@ -9359,7 +10922,7 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersProperties properties; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") - private SecurityGroupId securityGroupId; + private SinkRocketMQParametersSecurityGroupId securityGroupId; @com.aliyun.core.annotation.NameInMap("ShardingKey") private ShardingKey shardingKey; @@ -9371,10 +10934,10 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersTopic topic; @com.aliyun.core.annotation.NameInMap("VSwitchIds") - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; @com.aliyun.core.annotation.NameInMap("VpcId") - private VpcId vpcId; + private SinkRocketMQParametersVpcId vpcId; private SinkRocketMQParameters(Builder builder) { this.body = builder.body; @@ -9476,7 +11039,7 @@ public SinkRocketMQParametersProperties getProperties() { /** * @return securityGroupId */ - public SecurityGroupId getSecurityGroupId() { + public SinkRocketMQParametersSecurityGroupId getSecurityGroupId() { return this.securityGroupId; } @@ -9504,14 +11067,14 @@ public SinkRocketMQParametersTopic getTopic() { /** * @return vSwitchIds */ - public VSwitchIds getVSwitchIds() { + public SinkRocketMQParametersVSwitchIds getVSwitchIds() { return this.vSwitchIds; } /** * @return vpcId */ - public VpcId getVpcId() { + public SinkRocketMQParametersVpcId getVpcId() { return this.vpcId; } @@ -9526,12 +11089,12 @@ public static final class Builder { private Keys keys; private Network network; private SinkRocketMQParametersProperties properties; - private SecurityGroupId securityGroupId; + private SinkRocketMQParametersSecurityGroupId securityGroupId; private ShardingKey shardingKey; private Tags tags; private SinkRocketMQParametersTopic topic; - private VSwitchIds vSwitchIds; - private VpcId vpcId; + private SinkRocketMQParametersVSwitchIds vSwitchIds; + private SinkRocketMQParametersVpcId vpcId; private Builder() { } @@ -9638,7 +11201,7 @@ public Builder properties(SinkRocketMQParametersProperties properties) { /** * SecurityGroupId. */ - public Builder securityGroupId(SecurityGroupId securityGroupId) { + public Builder securityGroupId(SinkRocketMQParametersSecurityGroupId securityGroupId) { this.securityGroupId = securityGroupId; return this; } @@ -9670,15 +11233,18 @@ public Builder topic(SinkRocketMQParametersTopic topic) { /** * VSwitchIds. */ - public Builder vSwitchIds(VSwitchIds vSwitchIds) { + public Builder vSwitchIds(SinkRocketMQParametersVSwitchIds vSwitchIds) { this.vSwitchIds = vSwitchIds; return this; } /** - * VpcId. + *VPC ID。
+ * + * example: + *vpc-2zehizpoendb3****
*/ - public Builder vpcId(VpcId vpcId) { + public Builder vpcId(SinkRocketMQParametersVpcId vpcId) { this.vpcId = vpcId; return this; } @@ -10624,6 +12190,9 @@ public static class Sink extends TeaModel { @com.aliyun.core.annotation.NameInMap("SinkDataHubParameters") private SinkDataHubParameters sinkDataHubParameters; + @com.aliyun.core.annotation.NameInMap("SinkDorisParameters") + private SinkDorisParameters sinkDorisParameters; + @com.aliyun.core.annotation.NameInMap("SinkFcParameters") private SinkFcParameters sinkFcParameters; @@ -10658,6 +12227,7 @@ private Sink(Builder builder) { this.sinkCustomizedKafkaParameters = builder.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = builder.sinkDashVectorParameters; this.sinkDataHubParameters = builder.sinkDataHubParameters; + this.sinkDorisParameters = builder.sinkDorisParameters; this.sinkFcParameters = builder.sinkFcParameters; this.sinkFnfParameters = builder.sinkFnfParameters; this.sinkKafkaParameters = builder.sinkKafkaParameters; @@ -10719,6 +12289,13 @@ public SinkDataHubParameters getSinkDataHubParameters() { return this.sinkDataHubParameters; } + /** + * @return sinkDorisParameters + */ + public SinkDorisParameters getSinkDorisParameters() { + return this.sinkDorisParameters; + } + /** * @return sinkFcParameters */ @@ -10789,6 +12366,7 @@ public static final class Builder { private SinkCustomizedKafkaParameters sinkCustomizedKafkaParameters; private SinkDashVectorParameters sinkDashVectorParameters; private SinkDataHubParameters sinkDataHubParameters; + private SinkDorisParameters sinkDorisParameters; private SinkFcParameters sinkFcParameters; private SinkFnfParameters sinkFnfParameters; private SinkKafkaParameters sinkKafkaParameters; @@ -10809,6 +12387,7 @@ private Builder(Sink model) { this.sinkCustomizedKafkaParameters = model.sinkCustomizedKafkaParameters; this.sinkDashVectorParameters = model.sinkDashVectorParameters; this.sinkDataHubParameters = model.sinkDataHubParameters; + this.sinkDorisParameters = model.sinkDorisParameters; this.sinkFcParameters = model.sinkFcParameters; this.sinkFnfParameters = model.sinkFnfParameters; this.sinkKafkaParameters = model.sinkKafkaParameters; @@ -10868,6 +12447,14 @@ public Builder sinkDataHubParameters(SinkDataHubParameters sinkDataHubParameters return this; } + /** + * SinkDorisParameters. + */ + public Builder sinkDorisParameters(SinkDorisParameters sinkDorisParameters) { + this.sinkDorisParameters = sinkDorisParameters; + return this; + } + /** *The parameters that are returned if Function Compute is specified as the event target.
*/ @@ -11155,7 +12742,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - * VpcId. + *VPC ID。
+ * + * example: + *vpc-adw1awdw*****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -12592,10 +14182,10 @@ public Builder virtualHostName(String virtualHostName) { } /** - *The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.
+ *VPC ID。
* * example: - *vpc-wz9ki1qdlx3cx5cbbhowf
+ *vpc-m5e3sv4b12345****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -13586,10 +15176,10 @@ public Builder vSwitchIds(String vSwitchIds) { } /** - *The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.
+ *VPC ID。
* * example: - *vpc-wz9ki1qdlx3cx5cbbhowf
+ *vpc-m5e3sv4b12345****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListRulesResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListRulesResponseBody.java index 931e51353c..0a30291475 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListRulesResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListRulesResponseBody.java @@ -106,7 +106,11 @@ private Builder(ListRulesResponseBody model) { } /** - *The error code. The value Success indicates that the request is successful.
+ *The response code.
+ *Success
@@ -117,7 +121,7 @@ public Builder code(String code) { } /** - *The data returned.
+ *The returned data.
*/ public Builder data(Data data) { this.data = data; @@ -266,7 +270,14 @@ public Builder endpoint(String endpoint) { } /** - * ErrorsTolerance. + *The fault tolerance policy. Valid values:
+ *ALL
*/ public Builder errorsTolerance(String errorsTolerance) { this.errorsTolerance = errorsTolerance; @@ -498,8 +509,11 @@ public Builder eventBusName(String eventBusName) { } /** - *The event pattern, in JSON format. Valid values: stringEqual pattern stringExpression pattern Each field can have a maximum of five expressions in the map data structure.
- *Each field can have a maximum of five expressions in the map data structure.
+ *The event pattern, in JSON format. Valid values:
+ *{"source":["acs.oss"],"type":["oss:BucketQueried:GetBucketStat"]}
@@ -532,7 +546,11 @@ public Builder ruleName(String ruleName) { } /** - *The status of the event rule. Valid values: ENABLE: The event rule is enabled. It is the default state of the event rule. DISABLE: The event rule is disabled.
+ *The status of the event rule. Valid values:
+ *ENABLE
@@ -634,7 +652,7 @@ public Builder nextToken(String nextToken) { } /** - *The rules.
+ *The event rules.
*/ public Builder rules(java.util.ListThe maximum number of concurrent events allowed in the event target.
+ * + * example: + *10
*/ public Builder concurrency(Long concurrency) { this.concurrency = concurrency; @@ -485,7 +488,7 @@ private Builder(Targets model) { } /** - * ConcurrentConfig. + *The concurrency configuration.
*/ public Builder concurrentConfig(ConcurrentConfig concurrentConfig) { this.concurrentConfig = concurrentConfig; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListUserDefinedEventSourcesResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListUserDefinedEventSourcesResponseBody.java index 2dfd35161c..74cc7a5056 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListUserDefinedEventSourcesResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/ListUserDefinedEventSourcesResponseBody.java @@ -121,7 +121,7 @@ public Builder code(String code) { } /** - *The returned data.
+ *The data returned.
*/ public Builder data(Data data) { this.data = data; @@ -724,7 +724,7 @@ public Builder isBase64Decode(Boolean isBase64Decode) { } /** - *The name of the MNS queue.
+ *The name of the SMQ queue.
* * example: *queue.openapi-sign-callback
@@ -735,7 +735,7 @@ public Builder queueName(String queueName) { } /** - *The ID of the region where the MNS queue resides.
+ *The ID of the region where the SMQ queue resides.
* * example: *cn-hangzhou
@@ -1818,7 +1818,7 @@ public Builder sourceKafkaParameters(SourceKafkaParameters sourceKafkaParameters } /** - *The parameters that are returned if Message Service (MNS) is specified as the event source.
+ *The parameters that are returned if Simple Message Queue (formerly MNS) (SMQ) is specified as the event source.
*/ public Builder sourceMNSParameters(SourceMNSParameters sourceMNSParameters) { this.sourceMNSParameters = sourceMNSParameters; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/PutTargetsRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/PutTargetsRequest.java index abbceffe13..fd79778d0a 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/PutTargetsRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/PutTargetsRequest.java @@ -116,7 +116,7 @@ public Builder ruleName(String ruleName) { } /** - *The event targets to be created or updated. For more information, see Limits.
+ *The event targets to be created or updated. For more information, see Limits.
*This parameter is required.
*/ public Builder targets(java.util.ListThe concurrency.
+ * + * example: + *34
*/ public Builder concurrency(Long concurrency) { this.concurrency = concurrency; @@ -279,7 +282,7 @@ private Builder(DeadLetterQueue model) { } /** - *The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum retries have been exceeded are written to the dead-letter queue.
+ *The Alibaba Cloud Resource Name (ARN) of the dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue.
* * example: *acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue or acs:mq:cn-hangzhou:123456789098****:/instances/MQ_INST_123456789098****_BX8QbBPL/topic/deadlettertopic or acs:alikafka:cn-hangzhou:123456789098****:instance/alikafka_post-cn-123456/topic/deadlettertopic or acs:eventbridge:cn-hangzhou:123456789098****:eventbus/deadletterbus
@@ -407,7 +410,7 @@ private Builder(ParamList model) { } /** - *The method that is used to deliver events to the event target. For more information,see Event target parameters.
+ *The format of input parameters for the event target. For more information, see Event target parameters.
* * example: *TEMPLATE
@@ -418,7 +421,7 @@ public Builder form(String form) { } /** - *The resource parameter of the event target. For more information,see Event target parameters.
+ *The resource key of the event target. For more information, see Event target parameters.
* * example: *body
@@ -429,7 +432,7 @@ public Builder resourceKey(String resourceKey) { } /** - *The template based on which events are delivered to the event target.
+ *The structure of the template for the event target.
* * example: *The value of ${key} is ${value}!
@@ -440,7 +443,7 @@ public Builder template(String template) { } /** - *The value of the event target parameter.
+ *The event target.
* * example: *{"key"="value"}
@@ -590,7 +593,7 @@ private Builder(Targets model) { } /** - * ConcurrentConfig. + *The concurrency configuration.
*/ public Builder concurrentConfig(ConcurrentConfig concurrentConfig) { this.concurrentConfig = concurrentConfig; @@ -598,7 +601,7 @@ public Builder concurrentConfig(ConcurrentConfig concurrentConfig) { } /** - *The dead-letter queue. Events that are not processed or whose maximum retries have been exceeded are written to the dead-letter queue. The dead-letter queue feature supports the following queue types: Message Queue for Apache RocketMQ, Message Service, Message Queue for Apache Kafka, and event bus.
+ *The dead-letter queue. Events that are not processed or whose maximum retries are exceeded are written to the dead-letter queue. You can use queues in ApsaraMQ for RocketMQ, Simple Message Queue (SMQ, formerly MNS), and ApsaraMQ for Kafka as dead-letter queues. You can also use event buses in EventBridge as dead-letter queues.
*/ public Builder deadLetterQueue(DeadLetterQueue deadLetterQueue) { this.deadLetterQueue = deadLetterQueue; @@ -619,10 +622,8 @@ public Builder endpoint(String endpoint) { /** *The fault tolerance policy. Valid values:
*ALL: ignores the error. Fault tolerance is allowed. If an error occurs, event processing is not blocked. If the message exceeds the number of retries specified by the retry policy, the message is delivered to a dead-letter queue or discarded based on your configurations.
- *NONE: does not ignore the error. Fault tolerance is prohibited. If an error occurs and the message exceeds the number of retries specified by the retry policy, event processing is blocked.
- *The ID of the custom event target.
+ *The ID of the event target.
*This parameter is required.
* * example: @@ -654,12 +655,10 @@ public Builder paramList(java.util.ListThe retry policy for pushing the event. Valid values:
+ *The retry policy to be used to push events. Valid values:
*BACKOFF_RETRY: backoff retry. A failed event can be retried up to three times. The interval between two consecutive retries is a random value from 10 to 20. Unit: seconds.
- *EXPONENTIAL_DECAY_RETRY: exponential decay retry. The request can be retried up to 176 times. The interval between two consecutive retries exponentially increases to 512 seconds, and the total retry time is one day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512, ..., and 512 seconds. The interval of 512 seconds can be used up to one hundred and sixty-seven times in total.
- *The type of the event target. For more information, see Event target parameters.
+ *The type of the event target. For more information, see Event target parameters.
*This parameter is required.
* * example: diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/QueryEventResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/QueryEventResponseBody.java index 7fc4a33ab4..8fa1e07319 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/QueryEventResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/QueryEventResponseBody.java @@ -106,7 +106,9 @@ private Builder(QueryEventResponseBody model) { } /** - *The status code returned. The status code 200 indicates that the request was successful.
+ *The response code. Valid values:
+ *200: The request was successful.
+ *Other values indicate that the request failed. For information about error codes, see Error codes.
* * example: *200
diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigRequest.java index 3d2e67907b..31b793c6c5 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigRequest.java @@ -59,7 +59,7 @@ private Builder(TestEventSourceConfigRequest request) { } /** - * SourceMySQLParameters. + *The parameters that are configured if you specify MySQL as the event source.
*/ public Builder sourceMySQLParameters(SourceMySQLParameters sourceMySQLParameters) { String sourceMySQLParametersShrink = shrink(sourceMySQLParameters, "SourceMySQLParameters", "json"); @@ -245,7 +245,10 @@ private Builder(SourceMySQLParameters model) { } /** - * DatabaseName. + *The database name.
+ * + * example: + *database1
*/ public Builder databaseName(String databaseName) { this.databaseName = databaseName; @@ -253,7 +256,10 @@ public Builder databaseName(String databaseName) { } /** - * HostName. + *The endpoint of the database.
+ * + * example: + *rm-bp1vxxx.mysql.rds.aliyuncs.com
*/ public Builder hostName(String hostName) { this.hostName = hostName; @@ -261,7 +267,15 @@ public Builder hostName(String hostName) { } /** - * NetworkType. + *The network type.
+ *Valid values:
+ *PrivateNetwork
*/ public Builder networkType(String networkType) { this.networkType = networkType; @@ -269,7 +283,10 @@ public Builder networkType(String networkType) { } /** - * Password. + *The password that is used for authentication.
+ * + * example: + *1234xxx
*/ public Builder password(String password) { this.password = password; @@ -277,7 +294,10 @@ public Builder password(String password) { } /** - * Port. + *The port that is used to connect to the database.
+ * + * example: + *80
*/ public Builder port(Integer port) { this.port = port; @@ -285,7 +305,10 @@ public Builder port(Integer port) { } /** - * RegionId. + *The region ID.
+ * + * example: + *cn-hangzhou
*/ public Builder regionId(String regionId) { this.regionId = regionId; @@ -293,7 +316,10 @@ public Builder regionId(String regionId) { } /** - * SecurityGroupId. + *The ID of the security group.
+ * + * example: + *sg-xxx
*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -301,7 +327,10 @@ public Builder securityGroupId(String securityGroupId) { } /** - * TableNames. + *The table name. The name must be prefixed with the database name. ${DatabaseName}.${TableName}
+ * + * example: + *database1.table1
*/ public Builder tableNames(String tableNames) { this.tableNames = tableNames; @@ -309,7 +338,10 @@ public Builder tableNames(String tableNames) { } /** - * User. + *The username that is used to log on to the database.
+ * + * example: + *user***
*/ public Builder user(String user) { this.user = user; @@ -317,7 +349,10 @@ public Builder user(String user) { } /** - * VSwitchIds. + *The vSwitch ID.
+ * + * example: + *vsw-bp1gb7xxx
*/ public Builder vSwitchIds(String vSwitchIds) { this.vSwitchIds = vSwitchIds; @@ -325,7 +360,7 @@ public Builder vSwitchIds(String vSwitchIds) { } /** - *VPC ID。
+ *The virtual private cloud (VPC) ID.
* * example: *vpc-xxx
diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigResponseBody.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigResponseBody.java index d39959be67..fae0a6cdfe 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigResponseBody.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/TestEventSourceConfigResponseBody.java @@ -106,7 +106,14 @@ private Builder(TestEventSourceConfigResponseBody model) { } /** - * Code. + *The response code. Valid values:
+ *Success
*/ public Builder code(String code) { this.code = code; @@ -114,7 +121,7 @@ public Builder code(String code) { } /** - * Data. + *The update result.
*/ public Builder data(java.util.List data) { this.data = data; @@ -122,7 +129,10 @@ public Builder data(java.util.List data) { } /** - * Message. + *The error message.
+ * + * example: + *Success
*/ public Builder message(String message) { this.message = message; @@ -130,7 +140,10 @@ public Builder message(String message) { } /** - * RequestId. + *The request ID.
+ * + * example: + *FF942675-F937-549C-A942-EB94FFE28DD3
*/ public Builder requestId(String requestId) { this.requestId = requestId; @@ -138,7 +151,10 @@ public Builder requestId(String requestId) { } /** - * Success. + *Indicates whether the operation was successful. If the operation was successful, the value true is returned.
+ * + * example: + *true
*/ public Builder success(Boolean success) { this.success = success; @@ -217,7 +233,10 @@ private Builder(Data model) { } /** - * CheckItem. + *The name of the check item.
+ * + * example: + *CHECK_CONNECTION
*/ public Builder checkItem(String checkItem) { this.checkItem = checkItem; @@ -225,7 +244,10 @@ public Builder checkItem(String checkItem) { } /** - * ErrorMsg. + *The error message.
+ * + * example: + *Connection established successfully.
*/ public Builder errorMsg(String errorMsg) { this.errorMsg = errorMsg; @@ -233,7 +255,10 @@ public Builder errorMsg(String errorMsg) { } /** - * IsSucceed. + *Indicates whether the check item is executed.
+ * + * example: + *true
*/ public Builder isSucceed(String isSucceed) { this.isSucceed = isSucceed; diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateConnectionRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateConnectionRequest.java index d808ba0d0d..e1dd18664d 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateConnectionRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateConnectionRequest.java @@ -786,7 +786,7 @@ private Builder(OAuthHttpParameters model) { } /** - *The parameters that are configured for the request.
+ *The parameters that are configured for the request body.
*/ public Builder bodyParameters(java.util.ListThe response code. The value Success indicates that the request was successful.
+ *The response code. Valid value: 200, which indicates that the request was successful.
* * example: *Success
diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventSourceRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventSourceRequest.java index 02b26004b2..048db230ad 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventSourceRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventSourceRequest.java @@ -265,6 +265,9 @@ public Builder eventSourceName(String eventSourceName) { /** *The configurations of the external data source.
+ * + * example: + *{"ConsumePosition":"end","LogStore":"oss_log","Project":"slsaudit-center-5795350335281001-cn-beijing","RoleName":"sls-beijing-tf"}
*/ public Builder externalSourceConfig(java.util.MapThe type of the external data source.
+ * + * example: + *SLS
*/ public Builder externalSourceType(String externalSourceType) { this.putBodyParameter("ExternalSourceType", externalSourceType); @@ -284,6 +290,9 @@ public Builder externalSourceType(String externalSourceType) { /** *Specifies whether to connect to an external data source.
+ * + * example: + *true
*/ public Builder linkedExternalSource(Boolean linkedExternalSource) { this.putBodyParameter("LinkedExternalSource", linkedExternalSource); diff --git a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventStreamingRequest.java b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventStreamingRequest.java index e02d809c5e..e59d812c72 100644 --- a/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventStreamingRequest.java +++ b/eventbridge-20200401/src/main/java/com/aliyun/sdk/service/eventbridge20200401/models/UpdateEventStreamingRequest.java @@ -197,6 +197,25 @@ public Builder eventStreamingName(String eventStreamingName) { /** *The rule that is used to filter events. If you leave this parameter empty, all events are matched.
*This parameter is required.
+ * + * example: + *{ + * "source": [ + * { + * "prefix": "acs:mns" + * } + * ], + * "type": [ + * { + * "prefix": "mns:Queue" + * } + * ], + * "subject": [ + * { + * "prefix": "acs:mns:cn-hangzhou:123456789098****:queues/zeus" + * } + * ] + * }
*/ public Builder filterPattern(String filterPattern) { this.putBodyParameter("FilterPattern", filterPattern); @@ -306,7 +325,7 @@ private Builder(BatchWindow model) { } /** - *The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.
+ *The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.
* * example: *100
@@ -317,7 +336,7 @@ public Builder countBasedWindow(Integer countBasedWindow) { } /** - *The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. When multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.
+ *The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed to the downstream service. If multiple batch windows exist, data is pushed if the triggering conditions are met in one of the windows.
* * example: *10
@@ -333,6 +352,102 @@ public BatchWindow build() { } + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class BusinessOption extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BusinessMode") + private String businessMode; + + @com.aliyun.core.annotation.NameInMap("MaxCapacityUnitCount") + private Long maxCapacityUnitCount; + + @com.aliyun.core.annotation.NameInMap("MinCapacityUnitCount") + private Long minCapacityUnitCount; + + private BusinessOption(Builder builder) { + this.businessMode = builder.businessMode; + this.maxCapacityUnitCount = builder.maxCapacityUnitCount; + this.minCapacityUnitCount = builder.minCapacityUnitCount; + } + + public static Builder builder() { + return new Builder(); + } + + public static BusinessOption create() { + return builder().build(); + } + + /** + * @return businessMode + */ + public String getBusinessMode() { + return this.businessMode; + } + + /** + * @return maxCapacityUnitCount + */ + public Long getMaxCapacityUnitCount() { + return this.maxCapacityUnitCount; + } + + /** + * @return minCapacityUnitCount + */ + public Long getMinCapacityUnitCount() { + return this.minCapacityUnitCount; + } + + public static final class Builder { + private String businessMode; + private Long maxCapacityUnitCount; + private Long minCapacityUnitCount; + + private Builder() { + } + + private Builder(BusinessOption model) { + this.businessMode = model.businessMode; + this.maxCapacityUnitCount = model.maxCapacityUnitCount; + this.minCapacityUnitCount = model.minCapacityUnitCount; + } + + /** + * BusinessMode. + */ + public Builder businessMode(String businessMode) { + this.businessMode = businessMode; + return this; + } + + /** + * MaxCapacityUnitCount. + */ + public Builder maxCapacityUnitCount(Long maxCapacityUnitCount) { + this.maxCapacityUnitCount = maxCapacityUnitCount; + return this; + } + + /** + * MinCapacityUnitCount. + */ + public Builder minCapacityUnitCount(Long minCapacityUnitCount) { + this.minCapacityUnitCount = minCapacityUnitCount; + return this; + } + + public BusinessOption build() { + return new BusinessOption(this); + } + + } + } /** * @@ -437,7 +552,14 @@ public Builder arn(String arn) { } /** - * Network. + *The network type of the dead-letter queue. Valid values:
+ *PrivateNetwork
*/ public Builder network(String network) { this.network = network; @@ -445,7 +567,10 @@ public Builder network(String network) { } /** - * SecurityGroupId. + *The ID of the security group.
+ * + * example: + *sg-2vcgdxz7o1n9zapp****
*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -453,7 +578,10 @@ public Builder securityGroupId(String securityGroupId) { } /** - * VSwitchIds. + *The vSwitch ID.
+ * + * example: + *vsw-m5ev8asdc6h12345****
*/ public Builder vSwitchIds(String vSwitchIds) { this.vSwitchIds = vSwitchIds; @@ -461,7 +589,10 @@ public Builder vSwitchIds(String vSwitchIds) { } /** - * VpcId. + *The VPC ID.
+ * + * example: + *vpc-2zehizpoendb3****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -590,6 +721,9 @@ public static class RunOptions extends TeaModel { @com.aliyun.core.annotation.NameInMap("BatchWindow") private BatchWindow batchWindow; + @com.aliyun.core.annotation.NameInMap("BusinessOption") + private BusinessOption businessOption; + @com.aliyun.core.annotation.NameInMap("DeadLetterQueue") private DeadLetterQueue deadLetterQueue; @@ -607,6 +741,7 @@ public static class RunOptions extends TeaModel { private RunOptions(Builder builder) { this.batchWindow = builder.batchWindow; + this.businessOption = builder.businessOption; this.deadLetterQueue = builder.deadLetterQueue; this.errorsTolerance = builder.errorsTolerance; this.maximumTasks = builder.maximumTasks; @@ -629,6 +764,13 @@ public BatchWindow getBatchWindow() { return this.batchWindow; } + /** + * @return businessOption + */ + public BusinessOption getBusinessOption() { + return this.businessOption; + } + /** * @return deadLetterQueue */ @@ -666,6 +808,7 @@ public Integer getThrottling() { public static final class Builder { private BatchWindow batchWindow; + private BusinessOption businessOption; private DeadLetterQueue deadLetterQueue; private String errorsTolerance; private Long maximumTasks; @@ -677,6 +820,7 @@ private Builder() { private Builder(RunOptions model) { this.batchWindow = model.batchWindow; + this.businessOption = model.businessOption; this.deadLetterQueue = model.deadLetterQueue; this.errorsTolerance = model.errorsTolerance; this.maximumTasks = model.maximumTasks; @@ -693,7 +837,15 @@ public Builder batchWindow(BatchWindow batchWindow) { } /** - *Indicates whether dead-letter queues are enabled. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.
+ * BusinessOption. + */ + public Builder businessOption(BusinessOption businessOption) { + this.businessOption = businessOption; + return this; + } + + /** + *Specifies whether to enable dead-letter queues. By default, dead-letter queues are disabled. Events that fail to be pushed are discarded after the maximum number of retries that is specified by the retry policy is reached.
*/ public Builder deadLetterQueue(DeadLetterQueue deadLetterQueue) { this.deadLetterQueue = deadLetterQueue; @@ -811,7 +963,10 @@ private Builder(ConsumeTimestamp model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -819,7 +974,10 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -827,7 +985,10 @@ public Builder template(String template) { } /** - * Value. + *The timestamp that specifies the time from which messages are consumed.
+ * + * example: + *1570761026400
*/ public Builder value(String value) { this.value = value; @@ -907,7 +1068,10 @@ private Builder(Group model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -915,7 +1079,10 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -923,7 +1090,10 @@ public Builder template(String template) { } /** - * Value. + *The ID of the consumer group.
+ * + * example: + *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -1003,7 +1173,10 @@ private Builder(Topic model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -1011,7 +1184,10 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -1019,7 +1195,10 @@ public Builder template(String template) { } /** - * Value. + *The name of the topic on the Apache RocketMQ instance.
+ * + * example: + *Mytopic
*/ public Builder value(String value) { this.value = value; @@ -1190,7 +1369,7 @@ private Builder(SinkApacheRocketMQCheckpointParameters model) { } /** - * ConsumeTimestamp. + *The timestamp that specifies the time from which messages are consumed.
*/ public Builder consumeTimestamp(ConsumeTimestamp consumeTimestamp) { this.consumeTimestamp = consumeTimestamp; @@ -1198,7 +1377,7 @@ public Builder consumeTimestamp(ConsumeTimestamp consumeTimestamp) { } /** - * Group. + *The ID of the consumer group.
*/ public Builder group(Group group) { this.group = group; @@ -1206,7 +1385,10 @@ public Builder group(Group group) { } /** - * InstanceEndpoint. + *The endpoint that is used to access the Apache RocketMQ instance.
+ * + * example: + *192.168.1.1:9876
*/ public Builder instanceEndpoint(String instanceEndpoint) { this.instanceEndpoint = instanceEndpoint; @@ -1214,7 +1396,10 @@ public Builder instanceEndpoint(String instanceEndpoint) { } /** - * InstancePassword. + *The password that is used to access the Apache RocketMQ instance.
+ * + * example: + *The username that is used to access the Apache RocketMQ instance.
+ * + * example: + *admin
*/ public Builder instanceUsername(String instanceUsername) { this.instanceUsername = instanceUsername; @@ -1230,7 +1418,14 @@ public Builder instanceUsername(String instanceUsername) { } /** - * NetworkType. + *The network type.
+ *PrivateNetwork
*/ public Builder networkType(String networkType) { this.networkType = networkType; @@ -1238,7 +1433,10 @@ public Builder networkType(String networkType) { } /** - * SecurityGroupId. + *The ID of the security group.
+ * + * example: + *sg-2ze5bmpw6adn0q******
*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -1246,7 +1444,7 @@ public Builder securityGroupId(String securityGroupId) { } /** - * Topic. + *The name of the topic on the Apache RocketMQ instance.
*/ public Builder topic(Topic topic) { this.topic = topic; @@ -1254,7 +1452,10 @@ public Builder topic(Topic topic) { } /** - * VSwitchId. + *The vSwitch ID.
+ * + * example: + *vsw-uf62oqt1twuevrt******
*/ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; @@ -1262,7 +1463,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - * VpcId. + *The VPC ID.
+ * + * example: + *vpc-2zeccak5pb0j3ay******
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -1329,7 +1533,14 @@ private Builder(ConnectorParameters model) { } /** - * Config. + *The connector configurations.
+ * + * example: + *{ + * "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector", + * "tasks.max": "1", + * "topics": "sourceA,sourceB" + * }
*/ public Builder config(java.util.MapThe connector name.
+ * + * example: + *mongo-sink
*/ public Builder name(String name) { this.name = name; @@ -1417,7 +1631,10 @@ private Builder(SinkCustomizedKafkaConnectorParameters model) { } /** - * ConnectorPackageUrl. + *The download link of the ZIP package that includes Object Storage Service (OSS) resources.
+ * + * example: + * */ public Builder connectorPackageUrl(String connectorPackageUrl) { this.connectorPackageUrl = connectorPackageUrl; @@ -1425,7 +1642,7 @@ public Builder connectorPackageUrl(String connectorPackageUrl) { } /** - * ConnectorParameters. + *The parameters that are configured for the parsing of the .properties file in the ZIP package.
*/ public Builder connectorParameters(ConnectorParameters connectorParameters) { this.connectorParameters = connectorParameters; @@ -1433,7 +1650,17 @@ public Builder connectorParameters(ConnectorParameters connectorParameters) { } /** - * WorkerParameters. + *The instance configurations.
+ * + * example: + *{ + * "group.id": "connect-eb-cluster-KAFKA_CONNECTORC", + * "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC", + * "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC", + * "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC", + * "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink", + * "bootstrap.servers": "alikafka-post:9092" + * }
*/ public Builder workerParameters(java.util.MapThe ID of the ApsaraMQ for Kafka instance.
+ * + * example: + *90be1f96-4229-4535-bb76-34b4f6fb2b71
*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -1567,7 +1797,15 @@ private Builder(DashVectorSchemaParameters model) { } /** - * Form. + *The method that you want to use to transform events. Valid values:
+ *TEMPLATE
*/ public Builder form(String form) { this.form = form; @@ -1575,7 +1813,21 @@ public Builder form(String form) { } /** - * Template. + *The schema template. This parameter is required only if you set Form to TEMPLATE. After the event content is transformed, the data must be an array in the JSON format. Each schema corresponds to a JSON object. The properties include only the name, type, and value fields. The value of the type field can be only of the INT, FLOAT, STRING, or BOOL type.
+ * + * example: + *[ + * { + * "name": "schema1", + * "type": "INT", + * "value": "${value1}" + * }, + * { + * "name": "schema2", + * "type": "FLOAT", + * "value": "${value2}" + * } + * ]
*/ public Builder template(String template) { this.template = template; @@ -1583,7 +1835,20 @@ public Builder template(String template) { } /** - * Value. + *+ *+ * + * example: + *The value of this parameter cannot exceed 10,240 characters in length.
+ *
{ + * "value1":"v1", + * "value2":"v2" + * }
*/ public Builder value(String value) { this.value = value; @@ -1663,7 +1928,14 @@ private Builder(Partition model) { } /** - * Form. + *The method that you want to use to transform events. Valid values:
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -1671,7 +1943,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -1679,7 +1951,16 @@ public Builder template(String template) { } /** - * Value. + *+ *+ * + * example: + *The value of this parameter cannot exceed 10,240 characters in length.
+ *
default
*/ public Builder value(String value) { this.value = value; @@ -1759,7 +2040,14 @@ private Builder(PrimaryKeyId model) { } /** - * Form. + *The method that you want to use to transform events. Valid values:
+ *JSONPATH
*/ public Builder form(String form) { this.form = form; @@ -1767,7 +2055,10 @@ public Builder form(String form) { } /** - * Template. + *The template that you want to use to specify primary key IDs. This parameter is required only if you set Form to TEMPLATE.
+ * + * example: + *${ID}
*/ public Builder template(String template) { this.template = template; @@ -1775,7 +2066,13 @@ public Builder template(String template) { } /** - * Value. + *If you set Form to JSONPATH, specify a JSONPath rule. If you set Form to TEMPLATE, specify variables for the template.
+ *+ *+ * + * example: + *The value of this parameter cannot exceed 10,240 characters in length.
+ *
$.data.requestId
*/ public Builder value(String value) { this.value = value; @@ -1855,7 +2152,10 @@ private Builder(Vector model) { } /** - * Form. + *The method that you want to use to transform events.
+ * + * example: + *JSONPATH
*/ public Builder form(String form) { this.form = form; @@ -1863,7 +2163,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -1871,7 +2171,13 @@ public Builder template(String template) { } /** - * Value. + *The JSONPath rule that you want to use to extract content.
+ *+ *+ * + * example: + *The value of this parameter cannot exceed 10,240 characters in length.
+ *
$.data.messageBody
*/ public Builder value(String value) { this.value = value; @@ -2029,7 +2335,10 @@ private Builder(SinkDashVectorParameters model) { } /** - * ApiKey. + *The API key that you want to create in the DashVector console.
+ * + * example: + *Q34nExQH7sQ****
*/ public Builder apiKey(String apiKey) { this.apiKey = apiKey; @@ -2037,7 +2346,10 @@ public Builder apiKey(String apiKey) { } /** - * Collection. + *The collection name.
+ * + * example: + *collection1
*/ public Builder collection(String collection) { this.collection = collection; @@ -2045,7 +2357,7 @@ public Builder collection(String collection) { } /** - * DashVectorSchemaParameters. + *The parameters in the Schema field of the table when data is inserted into DashVector. After the event content is transformed, the data must be in JSON format.
*/ public Builder dashVectorSchemaParameters(DashVectorSchemaParameters dashVectorSchemaParameters) { this.dashVectorSchemaParameters = dashVectorSchemaParameters; @@ -2053,7 +2365,10 @@ public Builder dashVectorSchemaParameters(DashVectorSchemaParameters dashVectorS } /** - * InstanceId. + *The ID of the DashVector instance.
+ * + * example: + *vrs-cn-lbj3ru1***
*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -2061,7 +2376,14 @@ public Builder instanceId(String instanceId) { } /** - * Network. + *The network type. Valid values:
+ *PublicNetwork
*/ public Builder network(String network) { this.network = network; @@ -2069,7 +2391,14 @@ public Builder network(String network) { } /** - * Operation. + *The type of operation that you want to perform on the DashVector database. Valid values:
+ *Upsert
*/ public Builder operation(String operation) { this.operation = operation; @@ -2077,7 +2406,7 @@ public Builder operation(String operation) { } /** - * Partition. + *The partition. Default value: default.
*/ public Builder partition(Partition partition) { this.partition = partition; @@ -2085,7 +2414,7 @@ public Builder partition(Partition partition) { } /** - * PrimaryKeyId. + *The ID of the primary key that you want to use when you insert or delete records. If you do not specify this parameter, a random primary key ID is returned.
*/ public Builder primaryKeyId(PrimaryKeyId primaryKeyId) { this.primaryKeyId = primaryKeyId; @@ -2093,7 +2422,7 @@ public Builder primaryKeyId(PrimaryKeyId primaryKeyId) { } /** - * Vector. + *The vector that is recorded when data is inserted into DashVector.
*/ public Builder vector(Vector vector) { this.vector = vector; @@ -2173,7 +2502,10 @@ private Builder(SinkDataHubParametersBody model) { } /** - * Form. + *The method that you want to use to transform events.
+ * + * example: + *ORIGINAL
*/ public Builder form(String form) { this.form = form; @@ -2181,7 +2513,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -2189,7 +2521,7 @@ public Builder template(String template) { } /** - * Value. + *The data is of the BLOB type, and a template is defined for the record.
*/ public Builder value(String value) { this.value = value; @@ -2269,7 +2601,10 @@ private Builder(ContentSchema model) { } /** - * Form. + *The template based on which you want events to be transformed.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2277,7 +2612,7 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
*/ public Builder template(String template) { this.template = template; @@ -2285,7 +2620,10 @@ public Builder template(String template) { } /** - * Value. + *The value before event transformation.
+ * + * example: + *{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}
*/ public Builder value(String value) { this.value = value; @@ -2365,7 +2703,10 @@ private Builder(ContentType model) { } /** - * Form. + *The method that you want to use to transform events.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2373,7 +2714,7 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
*/ public Builder template(String template) { this.template = template; @@ -2381,7 +2722,10 @@ public Builder template(String template) { } /** - * Value. + *The value before event transformation.
+ * + * example: + *JSON
*/ public Builder value(String value) { this.value = value; @@ -2461,7 +2805,10 @@ private Builder(Project model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2469,7 +2816,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -2477,7 +2824,10 @@ public Builder template(String template) { } /** - * Value. + *The name of the DataHub project.
+ * + * example: + *demo-project
*/ public Builder value(String value) { this.value = value; @@ -2557,7 +2907,10 @@ private Builder(RoleName model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2565,7 +2918,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -2573,7 +2926,10 @@ public Builder template(String template) { } /** - * Value. + *The role name.
+ * + * example: + *test-role
*/ public Builder value(String value) { this.value = value; @@ -2653,7 +3009,10 @@ private Builder(SinkDataHubParametersTopic model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2661,7 +3020,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -2669,7 +3028,10 @@ public Builder template(String template) { } /** - * Value. + *The name of the DataHub topic.
+ * + * example: + *demo-topic
*/ public Builder value(String value) { this.value = value; @@ -2749,7 +3111,10 @@ private Builder(TopicSchema model) { } /** - * Form. + *The method that you want to use to transform events.
+ * + * example: + *TEMPLATE
*/ public Builder form(String form) { this.form = form; @@ -2757,7 +3122,10 @@ public Builder form(String form) { } /** - * Template. + *The template based on which you want events to be transformed.
+ * + * example: + *{"k1":"${k1}","k2":"${k2}"}
*/ public Builder template(String template) { this.template = template; @@ -2765,7 +3133,10 @@ public Builder template(String template) { } /** - * Value. + *The data is of the TUBLE type, and a schema is defined for the DataHub topic.
+ * + * example: + *{"k1":"value1","k2":"value2"}
*/ public Builder value(String value) { this.value = value; @@ -2845,7 +3216,10 @@ private Builder(TopicType model) { } /** - * Form. + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -2853,7 +3227,7 @@ public Builder form(String form) { } /** - * Template. + *None.
*/ public Builder template(String template) { this.template = template; @@ -2861,7 +3235,14 @@ public Builder template(String template) { } /** - * Value. + *The data type of the DataHub topic. Valid values:
+ *TUPLE
*/ public Builder value(String value) { this.value = value; @@ -2891,186 +3272,1767 @@ public static class SinkDataHubParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("ContentType") private ContentType contentType; - @com.aliyun.core.annotation.NameInMap("Project") - private Project project; + @com.aliyun.core.annotation.NameInMap("Project") + private Project project; + + @com.aliyun.core.annotation.NameInMap("RoleName") + private RoleName roleName; + + @com.aliyun.core.annotation.NameInMap("Topic") + private SinkDataHubParametersTopic topic; + + @com.aliyun.core.annotation.NameInMap("TopicSchema") + private TopicSchema topicSchema; + + @com.aliyun.core.annotation.NameInMap("TopicType") + private TopicType topicType; + + private SinkDataHubParameters(Builder builder) { + this.body = builder.body; + this.contentSchema = builder.contentSchema; + this.contentType = builder.contentType; + this.project = builder.project; + this.roleName = builder.roleName; + this.topic = builder.topic; + this.topicSchema = builder.topicSchema; + this.topicType = builder.topicType; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDataHubParameters create() { + return builder().build(); + } + + /** + * @return body + */ + public SinkDataHubParametersBody getBody() { + return this.body; + } + + /** + * @return contentSchema + */ + public ContentSchema getContentSchema() { + return this.contentSchema; + } + + /** + * @return contentType + */ + public ContentType getContentType() { + return this.contentType; + } + + /** + * @return project + */ + public Project getProject() { + return this.project; + } + + /** + * @return roleName + */ + public RoleName getRoleName() { + return this.roleName; + } + + /** + * @return topic + */ + public SinkDataHubParametersTopic getTopic() { + return this.topic; + } + + /** + * @return topicSchema + */ + public TopicSchema getTopicSchema() { + return this.topicSchema; + } + + /** + * @return topicType + */ + public TopicType getTopicType() { + return this.topicType; + } + + public static final class Builder { + private SinkDataHubParametersBody body; + private ContentSchema contentSchema; + private ContentType contentType; + private Project project; + private RoleName roleName; + private SinkDataHubParametersTopic topic; + private TopicSchema topicSchema; + private TopicType topicType; + + private Builder() { + } + + private Builder(SinkDataHubParameters model) { + this.body = model.body; + this.contentSchema = model.contentSchema; + this.contentType = model.contentType; + this.project = model.project; + this.roleName = model.roleName; + this.topic = model.topic; + this.topicSchema = model.topicSchema; + this.topicType = model.topicType; + } + + /** + *The data is of the BLOB type, and a template is defined for the record.
+ */ + public Builder body(SinkDataHubParametersBody body) { + this.body = body; + return this; + } + + /** + *The key-value pair of custom logs. This parameter takes effect only if you set ContentType to KeyValue. Each key-value pair is in the Key_n, Value_n format.
+ */ + public Builder contentSchema(ContentSchema contentSchema) { + this.contentSchema = contentSchema; + return this; + } + + /** + *The data format. Valid values:
+ *The name of the DataHub project.
+ */ + public Builder project(Project project) { + this.project = project; + return this; + } + + /** + *The role name.
+ */ + public Builder roleName(RoleName roleName) { + this.roleName = roleName; + return this; + } + + /** + *The name of the DataHub topic.
+ */ + public Builder topic(SinkDataHubParametersTopic topic) { + this.topic = topic; + return this; + } + + /** + *The data is of the TUBLE type, and a schema is defined for the DataHub topic.
+ */ + public Builder topicSchema(TopicSchema topicSchema) { + this.topicSchema = topicSchema; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *UpdateEventStreamingRequest
+ */ + public static class BeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private BeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static BeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(BeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public BeHttpEndpoint build() { + return new BeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class SinkDorisParametersBody extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SinkDorisParametersBody(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SinkDorisParametersBody create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SinkDorisParametersBody model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SinkDorisParametersBody build() { + return new SinkDorisParametersBody(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class Database extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Database(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Database create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Database model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Database build() { + return new Database(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class FeHttpEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private FeHttpEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static FeHttpEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(FeHttpEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public FeHttpEndpoint build() { + return new FeHttpEndpoint(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class NetworkType extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private NetworkType(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static NetworkType create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(NetworkType model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public NetworkType build() { + return new NetworkType(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class Password extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Password(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Password create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Password model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Password build() { + return new Password(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class QueryEndpoint extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private QueryEndpoint(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static QueryEndpoint create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(QueryEndpoint model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public QueryEndpoint build() { + return new QueryEndpoint(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class SecurityGroupId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private SecurityGroupId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static SecurityGroupId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(SecurityGroupId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public SecurityGroupId build() { + return new SecurityGroupId(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class Table extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private Table(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Table create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(Table model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public Table build() { + return new Table(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class UserName extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private UserName(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static UserName create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(UserName model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public UserName build() { + return new UserName(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class VSwitchIds extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private VSwitchIds(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static VSwitchIds create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(VSwitchIds model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public VSwitchIds build() { + return new VSwitchIds(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class VpcId extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Form") + private String form; + + @com.aliyun.core.annotation.NameInMap("Template") + private String template; + + @com.aliyun.core.annotation.NameInMap("Value") + private String value; + + private VpcId(Builder builder) { + this.form = builder.form; + this.template = builder.template; + this.value = builder.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static VpcId create() { + return builder().build(); + } + + /** + * @return form + */ + public String getForm() { + return this.form; + } + + /** + * @return template + */ + public String getTemplate() { + return this.template; + } + + /** + * @return value + */ + public String getValue() { + return this.value; + } + + public static final class Builder { + private String form; + private String template; + private String value; + + private Builder() { + } + + private Builder(VpcId model) { + this.form = model.form; + this.template = model.template; + this.value = model.value; + } + + /** + *The method that you want to use to transform events. Default value: CONSTANT.
+ * + * example: + *CONSTANT
+ */ + public Builder form(String form) { + this.form = form; + return this; + } + + /** + *None.
+ */ + public Builder template(String template) { + this.template = template; + return this; + } + + /** + *The data type of the DataHub topic. Valid values:
+ *TUPLE
+ */ + public Builder value(String value) { + this.value = value; + return this; + } + + public VpcId build() { + return new VpcId(this); + } + + } + + } + /** + * + * {@link UpdateEventStreamingRequest} extends {@link TeaModel} + * + *UpdateEventStreamingRequest
+ */ + public static class SinkDorisParameters extends TeaModel { + @com.aliyun.core.annotation.NameInMap("BeHttpEndpoint") + private BeHttpEndpoint beHttpEndpoint; + + @com.aliyun.core.annotation.NameInMap("Body") + private SinkDorisParametersBody body; + + @com.aliyun.core.annotation.NameInMap("Database") + private Database database; + + @com.aliyun.core.annotation.NameInMap("FeHttpEndpoint") + private FeHttpEndpoint feHttpEndpoint; + + @com.aliyun.core.annotation.NameInMap("NetworkType") + private NetworkType networkType; + + @com.aliyun.core.annotation.NameInMap("Password") + private Password password; + + @com.aliyun.core.annotation.NameInMap("QueryEndpoint") + private QueryEndpoint queryEndpoint; + + @com.aliyun.core.annotation.NameInMap("SecurityGroupId") + private SecurityGroupId securityGroupId; - @com.aliyun.core.annotation.NameInMap("RoleName") - private RoleName roleName; + @com.aliyun.core.annotation.NameInMap("Table") + private Table table; - @com.aliyun.core.annotation.NameInMap("Topic") - private SinkDataHubParametersTopic topic; + @com.aliyun.core.annotation.NameInMap("UserName") + private UserName userName; - @com.aliyun.core.annotation.NameInMap("TopicSchema") - private TopicSchema topicSchema; + @com.aliyun.core.annotation.NameInMap("VSwitchIds") + private VSwitchIds vSwitchIds; - @com.aliyun.core.annotation.NameInMap("TopicType") - private TopicType topicType; + @com.aliyun.core.annotation.NameInMap("VpcId") + private VpcId vpcId; - private SinkDataHubParameters(Builder builder) { + private SinkDorisParameters(Builder builder) { + this.beHttpEndpoint = builder.beHttpEndpoint; this.body = builder.body; - this.contentSchema = builder.contentSchema; - this.contentType = builder.contentType; - this.project = builder.project; - this.roleName = builder.roleName; - this.topic = builder.topic; - this.topicSchema = builder.topicSchema; - this.topicType = builder.topicType; + this.database = builder.database; + this.feHttpEndpoint = builder.feHttpEndpoint; + this.networkType = builder.networkType; + this.password = builder.password; + this.queryEndpoint = builder.queryEndpoint; + this.securityGroupId = builder.securityGroupId; + this.table = builder.table; + this.userName = builder.userName; + this.vSwitchIds = builder.vSwitchIds; + this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } - public static SinkDataHubParameters create() { + public static SinkDorisParameters create() { return builder().build(); } + /** + * @return beHttpEndpoint + */ + public BeHttpEndpoint getBeHttpEndpoint() { + return this.beHttpEndpoint; + } + /** * @return body */ - public SinkDataHubParametersBody getBody() { + public SinkDorisParametersBody getBody() { return this.body; } /** - * @return contentSchema + * @return database */ - public ContentSchema getContentSchema() { - return this.contentSchema; + public Database getDatabase() { + return this.database; } /** - * @return contentType + * @return feHttpEndpoint */ - public ContentType getContentType() { - return this.contentType; + public FeHttpEndpoint getFeHttpEndpoint() { + return this.feHttpEndpoint; } /** - * @return project + * @return networkType */ - public Project getProject() { - return this.project; + public NetworkType getNetworkType() { + return this.networkType; } /** - * @return roleName + * @return password */ - public RoleName getRoleName() { - return this.roleName; + public Password getPassword() { + return this.password; } /** - * @return topic + * @return queryEndpoint */ - public SinkDataHubParametersTopic getTopic() { - return this.topic; + public QueryEndpoint getQueryEndpoint() { + return this.queryEndpoint; } /** - * @return topicSchema + * @return securityGroupId */ - public TopicSchema getTopicSchema() { - return this.topicSchema; + public SecurityGroupId getSecurityGroupId() { + return this.securityGroupId; } /** - * @return topicType + * @return table */ - public TopicType getTopicType() { - return this.topicType; + public Table getTable() { + return this.table; + } + + /** + * @return userName + */ + public UserName getUserName() { + return this.userName; + } + + /** + * @return vSwitchIds + */ + public VSwitchIds getVSwitchIds() { + return this.vSwitchIds; + } + + /** + * @return vpcId + */ + public VpcId getVpcId() { + return this.vpcId; } public static final class Builder { - private SinkDataHubParametersBody body; - private ContentSchema contentSchema; - private ContentType contentType; - private Project project; - private RoleName roleName; - private SinkDataHubParametersTopic topic; - private TopicSchema topicSchema; - private TopicType topicType; + private BeHttpEndpoint beHttpEndpoint; + private SinkDorisParametersBody body; + private Database database; + private FeHttpEndpoint feHttpEndpoint; + private NetworkType networkType; + private Password password; + private QueryEndpoint queryEndpoint; + private SecurityGroupId securityGroupId; + private Table table; + private UserName userName; + private VSwitchIds vSwitchIds; + private VpcId vpcId; private Builder() { } - private Builder(SinkDataHubParameters model) { + private Builder(SinkDorisParameters model) { + this.beHttpEndpoint = model.beHttpEndpoint; this.body = model.body; - this.contentSchema = model.contentSchema; - this.contentType = model.contentType; - this.project = model.project; - this.roleName = model.roleName; - this.topic = model.topic; - this.topicSchema = model.topicSchema; - this.topicType = model.topicType; + this.database = model.database; + this.feHttpEndpoint = model.feHttpEndpoint; + this.networkType = model.networkType; + this.password = model.password; + this.queryEndpoint = model.queryEndpoint; + this.securityGroupId = model.securityGroupId; + this.table = model.table; + this.userName = model.userName; + this.vSwitchIds = model.vSwitchIds; + this.vpcId = model.vpcId; } /** - * Body. + * BeHttpEndpoint. */ - public Builder body(SinkDataHubParametersBody body) { + public Builder beHttpEndpoint(BeHttpEndpoint beHttpEndpoint) { + this.beHttpEndpoint = beHttpEndpoint; + return this; + } + + /** + *The data is of the BLOB type, and a template is defined for the record.
+ */ + public Builder body(SinkDorisParametersBody body) { this.body = body; return this; } /** - * ContentSchema. + * Database. */ - public Builder contentSchema(ContentSchema contentSchema) { - this.contentSchema = contentSchema; + public Builder database(Database database) { + this.database = database; return this; } /** - * ContentType. + * FeHttpEndpoint. */ - public Builder contentType(ContentType contentType) { - this.contentType = contentType; + public Builder feHttpEndpoint(FeHttpEndpoint feHttpEndpoint) { + this.feHttpEndpoint = feHttpEndpoint; return this; } /** - * Project. + *The network type.
+ *PrivateNetwork
*/ - public Builder project(Project project) { - this.project = project; + public Builder networkType(NetworkType networkType) { + this.networkType = networkType; return this; } /** - * RoleName. + * Password. */ - public Builder roleName(RoleName roleName) { - this.roleName = roleName; + public Builder password(Password password) { + this.password = password; return this; } /** - * Topic. + * QueryEndpoint. */ - public Builder topic(SinkDataHubParametersTopic topic) { - this.topic = topic; + public Builder queryEndpoint(QueryEndpoint queryEndpoint) { + this.queryEndpoint = queryEndpoint; return this; } /** - * TopicSchema. + *The ID of the security group.
+ * + * example: + *sg-2ze5bmpw6adn0q******
*/ - public Builder topicSchema(TopicSchema topicSchema) { - this.topicSchema = topicSchema; + public Builder securityGroupId(SecurityGroupId securityGroupId) { + this.securityGroupId = securityGroupId; return this; } /** - * TopicType. + * Table. */ - public Builder topicType(TopicType topicType) { - this.topicType = topicType; + public Builder table(Table table) { + this.table = table; return this; } - public SinkDataHubParameters build() { - return new SinkDataHubParameters(this); + /** + * UserName. + */ + public Builder userName(UserName userName) { + this.userName = userName; + return this; + } + + /** + *The vSwitch ID.
+ * + * example: + *vsw-m5ev8asdc6h12345****
+ */ + public Builder vSwitchIds(VSwitchIds vSwitchIds) { + this.vSwitchIds = vSwitchIds; + return this; + } + + /** + *The VPC ID.
+ * + * example: + *vpc-2zeccak5pb0j3ay******
+ */ + public Builder vpcId(VpcId vpcId) { + this.vpcId = vpcId; + return this; + } + + public SinkDorisParameters build() { + return new SinkDorisParameters(this); } } @@ -3164,7 +5126,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -3354,10 +5316,16 @@ private Builder(DataFormat model) { } /** - *
The method that you want to use to transform events. Default value: CONSTANT.
+ *The method that you want to use to transform events. Valid values:
+ *CONSTANT
+ *JSONPATH
*/ public Builder form(String form) { this.form = form; @@ -3365,10 +5333,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
* * example: - *None
+ *$.data.key
*/ public Builder template(String template) { this.template = template; @@ -3376,10 +5344,12 @@ public Builder template(String template) { } /** - *The delivery concurrency. Minimum value: 1.
+ *The value before event transformation.
* * example: - *1
+ *{ + * "key": "value" + * }
*/ public Builder value(String value) { this.value = value; @@ -3919,7 +5889,7 @@ private Builder(SinkFcParameters model) { } /** - *The message body that you want to deliver to the function.
+ *The message body that you want to deliver to Function Compute.
*/ public Builder body(SinkFcParametersBody body) { this.body = body; @@ -3935,7 +5905,7 @@ public Builder concurrency(Concurrency concurrency) { } /** - * DataFormat. + *The rule that you want to use to transform the format of event content.
*/ public Builder dataFormat(DataFormat dataFormat) { this.dataFormat = dataFormat; @@ -4058,7 +6028,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
*/ public Builder template(String template) { this.template = template; @@ -4160,7 +6130,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
*/ public Builder template(String template) { this.template = template; @@ -4364,7 +6334,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
*/ public Builder template(String template) { this.template = template; @@ -4679,7 +6649,13 @@ private Builder(Headers model) { } /** - *The method that you want to use to transform events. Default value: CONSTANT.
+ *The method that you want to use to transform events. Valid values:
+ *CONSTANT
@@ -4690,7 +6666,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -4698,15 +6677,12 @@ public Builder template(String template) { } /** - *The ACK mode.
- *The value before event transformation.
* * example: - *1
+ *{ + * "key": "value" + * }
*/ public Builder value(String value) { this.value = value; @@ -5103,7 +7079,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -5114,7 +7090,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -5251,7 +7227,7 @@ public Builder acks(Acks acks) { } /** - * Headers. + *
The metadata added to messages in the ApsaraMQ for Kafka instance.
*/ public Builder headers(Headers headers) { this.headers = headers; @@ -5374,7 +7350,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -5385,7 +7361,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -5591,7 +7567,7 @@ public Builder template(String template) { } /** - *
The name of the MNS queue.
+ *The name of the SMQ queue.
* * example: *MyQueue
@@ -5674,7 +7650,7 @@ private Builder(SinkMNSParameters model) { } /** - *The message content.
+ *The message body.
*/ public Builder body(SinkMNSParametersBody body) { this.body = body; @@ -5690,7 +7666,7 @@ public Builder isBase64Encode(IsBase64Encode isBase64Encode) { } /** - *The name of the MNS queue.
+ *The name of the SMQ queue.
*/ public Builder queueName(QueueName queueName) { this.queueName = queueName; @@ -5781,7 +7757,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -5789,10 +7768,10 @@ public Builder template(String template) { } /** - *The name of the MNS queue.
+ *The value of the raw data.
* * example: - *MyQueue
+ *{"key": "value"}
*/ public Builder value(String value) { this.value = value; @@ -5883,7 +7862,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -5891,10 +7873,10 @@ public Builder template(String template) { } /** - *The name of the MNS queue.
+ *The value of the message ID.
* * example: - *MyQueue
+ *12345
*/ public Builder value(String value) { this.value = value; @@ -5985,7 +7967,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -5993,10 +7978,10 @@ public Builder template(String template) { } /** - *The name of the MNS queue.
+ *The attribute value.
* * example: - *MyQueue
+ *{"env": "prod"}
*/ public Builder value(String value) { this.value = value; @@ -6087,7 +8072,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *The value of ${key} is ${value}!
*/ public Builder template(String template) { this.template = template; @@ -6095,10 +8083,10 @@ public Builder template(String template) { } /** - *The name of the MNS queue.
+ *The routing key.
* * example: - *MyQueue
+ *{"Form": "CONSTANT", "Value": "my-routing-key"}
*/ public Builder value(String value) { this.value = value; @@ -6347,7 +8335,14 @@ private Builder(SinkOpenSourceRabbitMQParameters model) { } /** - * AuthType. + *The authentication type. Valid values:
+ *ACL
*/ public Builder authType(String authType) { this.authType = authType; @@ -6355,7 +8350,7 @@ public Builder authType(String authType) { } /** - *The message content.
+ *The message body.
*/ public Builder body(SinkOpenSourceRabbitMQParametersBody body) { this.body = body; @@ -6363,7 +8358,10 @@ public Builder body(SinkOpenSourceRabbitMQParametersBody body) { } /** - * Endpoint. + *The endpoint used to access the open source RabbitMQ instance.
+ * + * example: + *192.168.1.1:9876
*/ public Builder endpoint(String endpoint) { this.endpoint = endpoint; @@ -6371,7 +8369,10 @@ public Builder endpoint(String endpoint) { } /** - * Exchange. + *The name of the exchange on the open source RabbitMQ instance. This parameter is valid only if you set TargetType to Exchange.
+ * + * example: + *my-exchange
*/ public Builder exchange(String exchange) { this.exchange = exchange; @@ -6379,7 +8380,7 @@ public Builder exchange(String exchange) { } /** - * MessageId. + *The message ID.
*/ public Builder messageId(MessageId messageId) { this.messageId = messageId; @@ -6387,7 +8388,14 @@ public Builder messageId(MessageId messageId) { } /** - * NetworkType. + *The network type. Valid values:
+ *PublicNetwork
*/ public Builder networkType(String networkType) { this.networkType = networkType; @@ -6395,7 +8403,10 @@ public Builder networkType(String networkType) { } /** - * Password. + *The password that is used to access the open source RabbitMQ instance.
+ * + * example: + *The attributes of the message.
*/ public Builder properties(Properties properties) { this.properties = properties; @@ -6411,7 +8422,10 @@ public Builder properties(Properties properties) { } /** - *The name of the MNS queue.
+ *The name of the queue on the open source RabbitMQ instance. This parameter is valid only if you set TargetType to Queue.
+ * + * example: + *my-queue
*/ public Builder queueName(String queueName) { this.queueName = queueName; @@ -6419,7 +8433,7 @@ public Builder queueName(String queueName) { } /** - * RoutingKey. + *The routing key.
*/ public Builder routingKey(RoutingKey routingKey) { this.routingKey = routingKey; @@ -6427,7 +8441,10 @@ public Builder routingKey(RoutingKey routingKey) { } /** - * SecurityGroupId. + *The ID of the security group.
+ * + * example: + *sg-uf6of9452b2pba82c ****
*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -6435,7 +8452,14 @@ public Builder securityGroupId(String securityGroupId) { } /** - * TargetType. + *The type of the resource to which you want to deliver messages. Valid values:
+ *Exchange
*/ public Builder targetType(String targetType) { this.targetType = targetType; @@ -6443,7 +8467,10 @@ public Builder targetType(String targetType) { } /** - * Username. + *The username that is used to access the open source RabbitMQ instance.
+ * + * example: + *admin
*/ public Builder username(String username) { this.username = username; @@ -6451,7 +8478,10 @@ public Builder username(String username) { } /** - * VSwitchIds. + *The vSwitch ID.
+ * + * example: + *vsw-uf6of9452b2pba82c ****
*/ public Builder vSwitchIds(String vSwitchIds) { this.vSwitchIds = vSwitchIds; @@ -6459,7 +8489,10 @@ public Builder vSwitchIds(String vSwitchIds) { } /** - * VirtualHostName. + *The name of the virtual host of the open source RabbitMQ instance.
+ * + * example: + *Vhost1
*/ public Builder virtualHostName(String virtualHostName) { this.virtualHostName = virtualHostName; @@ -6467,7 +8500,10 @@ public Builder virtualHostName(String virtualHostName) { } /** - * VpcId. + *The VPC ID.
+ * + * example: + *vpc-uf6of9452b2pba82c ****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -6751,10 +8787,16 @@ private Builder(HeaderParameters model) { } /** - *The method that you want to use to transform events. Default value: JSONPATH.
+ *The method that you want to use to transform events.
+ *Valid values:
+ *JSONPATH
+ *TEMPLATE
*/ public Builder form(String form) { this.form = form; @@ -6762,7 +8804,12 @@ public Builder form(String form) { } /** - *None.
+ *The template that you want to use for HTTP request headers. This parameter is required only if you set Form to TEMPLATE. After the event content is transformed, the data must be in JSON format.
+ * + * example: + *{ + * "user_name":"${name}" + * }
*/ public Builder template(String template) { this.template = template; @@ -6770,10 +8817,12 @@ public Builder template(String template) { } /** - *The metric data.
- * - * example: - *$.data
+ *Note: The value of this parameter cannot exceed 10,240 characters in length.
*/ public Builder value(String value) { this.value = value; @@ -6793,7 +8842,7 @@ public HeaderParameters build() { * *UpdateEventStreamingRequest
*/ - public static class NetworkType extends TeaModel { + public static class SinkPrometheusParametersNetworkType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -6803,7 +8852,7 @@ public static class NetworkType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private NetworkType(Builder builder) { + private SinkPrometheusParametersNetworkType(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -6813,7 +8862,7 @@ public static Builder builder() { return new Builder(); } - public static NetworkType create() { + public static SinkPrometheusParametersNetworkType create() { return builder().build(); } @@ -6846,7 +8895,7 @@ public static final class Builder { private Builder() { } - private Builder(NetworkType model) { + private Builder(SinkPrometheusParametersNetworkType model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -6872,7 +8921,11 @@ public Builder template(String template) { } /** - *The network type.
+ *The network type. Valid values:
+ *PrivateNetwork
@@ -6882,8 +8935,8 @@ public Builder value(String value) { return this; } - public NetworkType build() { - return new NetworkType(this); + public SinkPrometheusParametersNetworkType build() { + return new SinkPrometheusParametersNetworkType(this); } } @@ -6895,7 +8948,7 @@ public NetworkType build() { * *UpdateEventStreamingRequest
*/ - public static class Password extends TeaModel { + public static class SinkPrometheusParametersPassword extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -6905,7 +8958,7 @@ public static class Password extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private Password(Builder builder) { + private SinkPrometheusParametersPassword(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -6915,7 +8968,7 @@ public static Builder builder() { return new Builder(); } - public static Password create() { + public static SinkPrometheusParametersPassword create() { return builder().build(); } @@ -6948,7 +9001,7 @@ public static final class Builder { private Builder() { } - private Builder(Password model) { + private Builder(SinkPrometheusParametersPassword model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -6984,8 +9037,8 @@ public Builder value(String value) { return this; } - public Password build() { - return new Password(this); + public SinkPrometheusParametersPassword build() { + return new SinkPrometheusParametersPassword(this); } } @@ -6997,7 +9050,7 @@ public Password build() { * *UpdateEventStreamingRequest
*/ - public static class SecurityGroupId extends TeaModel { + public static class SinkPrometheusParametersSecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -7007,7 +9060,7 @@ public static class SecurityGroupId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private SecurityGroupId(Builder builder) { + private SinkPrometheusParametersSecurityGroupId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -7017,7 +9070,7 @@ public static Builder builder() { return new Builder(); } - public static SecurityGroupId create() { + public static SinkPrometheusParametersSecurityGroupId create() { return builder().build(); } @@ -7050,7 +9103,7 @@ public static final class Builder { private Builder() { } - private Builder(SecurityGroupId model) { + private Builder(SinkPrometheusParametersSecurityGroupId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -7076,7 +9129,7 @@ public Builder template(String template) { } /** - *The ID of the security group to which the Managed Service for Prometheus instance belongs.
+ *The ID of the security group.
* * example: *sg-mw43*****
@@ -7086,8 +9139,8 @@ public Builder value(String value) { return this; } - public SecurityGroupId build() { - return new SecurityGroupId(this); + public SinkPrometheusParametersSecurityGroupId build() { + return new SinkPrometheusParametersSecurityGroupId(this); } } @@ -7379,7 +9432,7 @@ public Builder template(String template) { } /** - *The ID of the vSwitch with which the Managed Service for Prometheus instance is associated.
+ *The vSwitch ID.
* * example: *vsw-dwaafds****
@@ -7402,7 +9455,7 @@ public VSwitchId build() { * *UpdateEventStreamingRequest
*/ - public static class VpcId extends TeaModel { + public static class SinkPrometheusParametersVpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -7412,7 +9465,7 @@ public static class VpcId extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VpcId(Builder builder) { + private SinkPrometheusParametersVpcId(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -7422,7 +9475,7 @@ public static Builder builder() { return new Builder(); } - public static VpcId create() { + public static SinkPrometheusParametersVpcId create() { return builder().build(); } @@ -7455,7 +9508,7 @@ public static final class Builder { private Builder() { } - private Builder(VpcId model) { + private Builder(SinkPrometheusParametersVpcId model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -7481,7 +9534,7 @@ public Builder template(String template) { } /** - *The ID of the VPC to which the Managed Service for Prometheus instance belongs.
+ *The VPC ID.
* * example: *vpc-adw1awdw*****
@@ -7491,8 +9544,8 @@ public Builder value(String value) { return this; } - public VpcId build() { - return new VpcId(this); + public SinkPrometheusParametersVpcId build() { + return new SinkPrometheusParametersVpcId(this); } } @@ -7515,13 +9568,13 @@ public static class SinkPrometheusParameters extends TeaModel { private HeaderParameters headerParameters; @com.aliyun.core.annotation.NameInMap("NetworkType") - private NetworkType networkType; + private SinkPrometheusParametersNetworkType networkType; @com.aliyun.core.annotation.NameInMap("Password") - private Password password; + private SinkPrometheusParametersPassword password; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") - private SecurityGroupId securityGroupId; + private SinkPrometheusParametersSecurityGroupId securityGroupId; @com.aliyun.core.annotation.NameInMap("URL") private URL URL; @@ -7533,7 +9586,7 @@ public static class SinkPrometheusParameters extends TeaModel { private VSwitchId vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") - private VpcId vpcId; + private SinkPrometheusParametersVpcId vpcId; private SinkPrometheusParameters(Builder builder) { this.authorizationType = builder.authorizationType; @@ -7580,21 +9633,21 @@ public HeaderParameters getHeaderParameters() { /** * @return networkType */ - public NetworkType getNetworkType() { + public SinkPrometheusParametersNetworkType getNetworkType() { return this.networkType; } /** * @return password */ - public Password getPassword() { + public SinkPrometheusParametersPassword getPassword() { return this.password; } /** * @return securityGroupId */ - public SecurityGroupId getSecurityGroupId() { + public SinkPrometheusParametersSecurityGroupId getSecurityGroupId() { return this.securityGroupId; } @@ -7622,7 +9675,7 @@ public VSwitchId getVSwitchId() { /** * @return vpcId */ - public VpcId getVpcId() { + public SinkPrometheusParametersVpcId getVpcId() { return this.vpcId; } @@ -7630,13 +9683,13 @@ public static final class Builder { private AuthorizationType authorizationType; private Data data; private HeaderParameters headerParameters; - private NetworkType networkType; - private Password password; - private SecurityGroupId securityGroupId; + private SinkPrometheusParametersNetworkType networkType; + private SinkPrometheusParametersPassword password; + private SinkPrometheusParametersSecurityGroupId securityGroupId; private URL URL; private Username username; private VSwitchId vSwitchId; - private VpcId vpcId; + private SinkPrometheusParametersVpcId vpcId; private Builder() { } @@ -7671,7 +9724,7 @@ public Builder data(Data data) { } /** - * HeaderParameters. + *The parameters that are configured for the request header.
*/ public Builder headerParameters(HeaderParameters headerParameters) { this.headerParameters = headerParameters; @@ -7681,7 +9734,7 @@ public Builder headerParameters(HeaderParameters headerParameters) { /** *The network type.
*/ - public Builder networkType(NetworkType networkType) { + public Builder networkType(SinkPrometheusParametersNetworkType networkType) { this.networkType = networkType; return this; } @@ -7689,15 +9742,15 @@ public Builder networkType(NetworkType networkType) { /** *The password.
*/ - public Builder password(Password password) { + public Builder password(SinkPrometheusParametersPassword password) { this.password = password; return this; } /** - *The ID of the security group to which the Managed Service for Prometheus instance belongs.
+ *The ID of the security group.
*/ - public Builder securityGroupId(SecurityGroupId securityGroupId) { + public Builder securityGroupId(SinkPrometheusParametersSecurityGroupId securityGroupId) { this.securityGroupId = securityGroupId; return this; } @@ -7719,7 +9772,7 @@ public Builder username(Username username) { } /** - *The ID of the vSwitch with which the Managed Service for Prometheus instance is associated.
+ *The vSwitch ID.
*/ public Builder vSwitchId(VSwitchId vSwitchId) { this.vSwitchId = vSwitchId; @@ -7727,9 +9780,9 @@ public Builder vSwitchId(VSwitchId vSwitchId) { } /** - *The ID of the VPC to which the Managed Service for Prometheus instance belongs.
+ *The VPC ID.
*/ - public Builder vpcId(VpcId vpcId) { + public Builder vpcId(SinkPrometheusParametersVpcId vpcId) { this.vpcId = vpcId; return this; } @@ -7818,7 +9871,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -7829,7 +9882,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -8140,7 +10193,7 @@ public Builder template(String template) { } /** - *
The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -8247,7 +10300,7 @@ public Builder template(String template) { } /** - *
The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -8555,7 +10608,7 @@ public Builder template(String template) { } /** - *
The type of the resource to which events are delivered. Valid values:
+ *The type of the resource to which you want to deliver events. Valid values:
*The message content.
+ *The message body.
*/ public Builder body(SinkRabbitMQParametersBody body) { this.body = body; @@ -8854,7 +10907,7 @@ public Builder messageId(SinkRabbitMQParametersMessageId messageId) { } /** - *The properties that you want to use to filter messages.
+ *The attributes that you want to use to filter messages.
*/ public Builder properties(SinkRabbitMQParametersProperties properties) { this.properties = properties; @@ -8878,7 +10931,7 @@ public Builder routingKey(SinkRabbitMQParametersRoutingKey routingKey) { } /** - *The type of the resource to which events are delivered.
+ *The type of the resource to which you want to deliver events.
*/ public Builder targetType(TargetType targetType) { this.targetType = targetType; @@ -8977,7 +11030,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -8985,10 +11041,10 @@ public Builder template(String template) { } /** - *The name of the vhost of the ApsaraMQ for RabbitMQ instance.
+ *The timestamp that specifies the time from which messages are consumed.
* * example: - *rabbit-host
+ *1570761026400
*/ public Builder value(String value) { this.value = value; @@ -9079,7 +11135,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -9087,10 +11146,10 @@ public Builder template(String template) { } /** - *The name of the vhost of the ApsaraMQ for RabbitMQ instance.
+ *The ID of the consumer group.
* * example: - *rabbit-host
+ *GID_EVENTBRIDGE_1736234******
*/ public Builder value(String value) { this.value = value; @@ -9181,7 +11240,10 @@ public Builder form(String form) { } /** - *None.
+ *The template based on which you want events to be transformed.
+ * + * example: + *None
*/ public Builder template(String template) { this.template = template; @@ -9189,10 +11251,10 @@ public Builder template(String template) { } /** - *The name of the vhost of the ApsaraMQ for RabbitMQ instance.
+ *The name of the topic on the ApsaraMQ for RocketMQ instance.
* * example: - *rabbit-host
+ *Mytopic
*/ public Builder value(String value) { this.value = value; @@ -9298,7 +11360,7 @@ private Builder(SinkRocketMQCheckpointParameters model) { } /** - * ConsumeTimestamp. + *The timestamp that specifies the time from which messages are consumed.
*/ public Builder consumeTimestamp(SinkRocketMQCheckpointParametersConsumeTimestamp consumeTimestamp) { this.consumeTimestamp = consumeTimestamp; @@ -9306,7 +11368,7 @@ public Builder consumeTimestamp(SinkRocketMQCheckpointParametersConsumeTimestamp } /** - * Group. + *The ID of the consumer group.
*/ public Builder group(SinkRocketMQCheckpointParametersGroup group) { this.group = group; @@ -9314,7 +11376,10 @@ public Builder group(SinkRocketMQCheckpointParametersGroup group) { } /** - *The ID of the ApsaraMQ for RabbitMQ instance.
+ *The ID of the ApsaraMQ for RocketMQ instance.
+ * + * example: + *MQ_INST_164901546557****_BAAN****
*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; @@ -9322,7 +11387,14 @@ public Builder instanceId(String instanceId) { } /** - * InstanceType. + *The instance type. Valid values:
+ *Cloud_4
*/ public Builder instanceType(String instanceType) { this.instanceType = instanceType; @@ -9330,7 +11402,7 @@ public Builder instanceType(String instanceType) { } /** - *The name of the topic on the ApsaraMQ for Kafka instance.
+ *The name of the topic on the ApsaraMQ for RocketMQ instance.
*/ public Builder topic(SinkRocketMQCheckpointParametersTopic topic) { this.topic = topic; @@ -9421,7 +11493,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -9432,7 +11504,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -9517,10 +11589,10 @@ private Builder(DeliveryOrderType model) { } /** - *
The method that you want to use to transform events.
+ *The method that you want to use to transform events. Default value: CONSTANT.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -9528,10 +11600,10 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: - *The value of ${key} is ${value}!
+ *None
*/ public Builder template(String template) { this.template = template; @@ -9539,12 +11611,14 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The type of the message delivery order. Valid values:
+ *{ - * "key": "value" - * }
+ *Concurrently
*/ public Builder value(String value) { this.value = value; @@ -9624,10 +11698,10 @@ private Builder(InstanceEndpoint model) { } /** - *The method that you want to use to transform events.
+ *The method that you want to use to transform events. Default value: CONSTANT.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -9635,10 +11709,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
- * - * example: - *The value of ${key} is ${value}!
+ *None.
*/ public Builder template(String template) { this.template = template; @@ -9646,12 +11717,10 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The endpoint that is used to access the instance.
* * example: - *{ - * "key": "value" - * }
+ *vbr-8vbsvkkbpf3vb0zef****
*/ public Builder value(String value) { this.value = value; @@ -9852,10 +11921,10 @@ public Builder template(String template) { } /** - *The ID of the ApsaraMQ for RocketMQ instance.
+ *The password that is used to access the instance.
* * example: - *MQ_INST_164901546557****_BAAN****
+ *admin****
*/ public Builder value(String value) { this.value = value; @@ -9954,10 +12023,15 @@ public Builder template(String template) { } /** - *The ID of the ApsaraMQ for RocketMQ instance.
+ *The instance type. Valid values:
+ *MQ_INST_164901546557****_BAAN****
+ *Cloud_4
*/ public Builder value(String value) { this.value = value; @@ -10056,10 +12130,10 @@ public Builder template(String template) { } /** - *The ID of the ApsaraMQ for RocketMQ instance.
+ *The username that is used to access the instance.
* * example: - *MQ_INST_164901546557****_BAAN****
+ *admin
*/ public Builder value(String value) { this.value = value; @@ -10150,7 +12224,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -10161,7 +12235,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -10246,10 +12320,10 @@ private Builder(Network model) { } /** - *
The method that you want to use to transform events.
+ *The method that you want to use to transform events. Default value: CONSTANT.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -10257,10 +12331,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
- * - * example: - *The value of ${key} is ${value}!
+ *None.
*/ public Builder template(String template) { this.template = template; @@ -10268,12 +12339,14 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The network type. Valid values:
+ *{ - * "key": "value" - * }
+ *PublicNetwork
*/ public Builder value(String value) { this.value = value; @@ -10364,7 +12437,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -10375,7 +12448,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -10460,10 +12533,10 @@ private Builder(SinkRocketMQParametersSecurityGroupId model) { } /** - *
The method that you want to use to transform events.
+ *The method that you want to use to transform events. Default value: CONSTANT.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -10471,10 +12544,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
- * - * example: - *The value of ${key} is ${value}!
+ *None.
*/ public Builder template(String template) { this.template = template; @@ -10482,12 +12552,10 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The ID of the security group.
* * example: - *{ - * "key": "value" - * }
+ *b4bf375515f6440f942e3a20c33d****
*/ public Builder value(String value) { this.value = value; @@ -10567,10 +12635,10 @@ private Builder(ShardingKey model) { } /** - *The method that you want to use to transform events.
+ *The method that you want to use to transform events. Default value: CONSTANT.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -10578,10 +12646,10 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: - *The value of ${key} is ${value}!
+ *None
*/ public Builder template(String template) { this.template = template; @@ -10589,12 +12657,10 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value of the sharding key.
* * example: - *{ - * "key": "value" - * }
+ *order_id
*/ public Builder value(String value) { this.value = value; @@ -10685,7 +12751,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -10696,7 +12762,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -10800,7 +12866,7 @@ public Builder template(String template) { } /** - *
The topic on the ApsaraMQ for RocketMQ instance.
+ *The name of the topic on the ApsaraMQ for RocketMQ instance.
* * example: *Mytopic
@@ -10823,7 +12889,7 @@ public SinkRocketMQParametersTopic build() { * *UpdateEventStreamingRequest
*/ - public static class VSwitchIds extends TeaModel { + public static class SinkRocketMQParametersVSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Form") private String form; @@ -10833,7 +12899,7 @@ public static class VSwitchIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("Value") private String value; - private VSwitchIds(Builder builder) { + private SinkRocketMQParametersVSwitchIds(Builder builder) { this.form = builder.form; this.template = builder.template; this.value = builder.value; @@ -10843,7 +12909,7 @@ public static Builder builder() { return new Builder(); } - public static VSwitchIds create() { + public static SinkRocketMQParametersVSwitchIds create() { return builder().build(); } @@ -10876,7 +12942,7 @@ public static final class Builder { private Builder() { } - private Builder(VSwitchIds model) { + private Builder(SinkRocketMQParametersVSwitchIds model) { this.form = model.form; this.template = model.template; this.value = model.value; @@ -10902,18 +12968,18 @@ public Builder template(String template) { } /** - *The topic on the ApsaraMQ for RocketMQ instance.
+ *The vSwitch ID.
* * example: - *Mytopic
+ *vbr-8vb835n3zf9shwl****mp
*/ public Builder value(String value) { this.value = value; return this; } - public VSwitchIds build() { - return new VSwitchIds(this); + public SinkRocketMQParametersVSwitchIds build() { + return new SinkRocketMQParametersVSwitchIds(this); } } @@ -11004,10 +13070,10 @@ public Builder template(String template) { } /** - *The topic on the ApsaraMQ for RocketMQ instance.
+ *The VPC ID.
* * example: - *Mytopic
+ *vbr-8vb835n3zf9shwlvb****
*/ public Builder value(String value) { this.value = value; @@ -11071,7 +13137,7 @@ public static class SinkRocketMQParameters extends TeaModel { private SinkRocketMQParametersTopic topic; @com.aliyun.core.annotation.NameInMap("VSwitchIds") - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; @com.aliyun.core.annotation.NameInMap("VpcId") private SinkRocketMQParametersVpcId vpcId; @@ -11204,7 +13270,7 @@ public SinkRocketMQParametersTopic getTopic() { /** * @return vSwitchIds */ - public VSwitchIds getVSwitchIds() { + public SinkRocketMQParametersVSwitchIds getVSwitchIds() { return this.vSwitchIds; } @@ -11230,7 +13296,7 @@ public static final class Builder { private ShardingKey shardingKey; private Tags tags; private SinkRocketMQParametersTopic topic; - private VSwitchIds vSwitchIds; + private SinkRocketMQParametersVSwitchIds vSwitchIds; private SinkRocketMQParametersVpcId vpcId; private Builder() { @@ -11256,7 +13322,7 @@ private Builder(SinkRocketMQParameters model) { } /** - *The message content.
+ *The message body.
*/ public Builder body(SinkRocketMQParametersBody body) { this.body = body; @@ -11264,7 +13330,7 @@ public Builder body(SinkRocketMQParametersBody body) { } /** - * DeliveryOrderType. + *The type of the message delivery order. This parameter is optional. Default value: Concurrently.
*/ public Builder deliveryOrderType(DeliveryOrderType deliveryOrderType) { this.deliveryOrderType = deliveryOrderType; @@ -11272,7 +13338,7 @@ public Builder deliveryOrderType(DeliveryOrderType deliveryOrderType) { } /** - * InstanceEndpoint. + *The endpoint that is used to access the instance.
*/ public Builder instanceEndpoint(InstanceEndpoint instanceEndpoint) { this.instanceEndpoint = instanceEndpoint; @@ -11288,7 +13354,7 @@ public Builder instanceId(SinkRocketMQParametersInstanceId instanceId) { } /** - * InstancePassword. + *The password that is used to access the instance.
*/ public Builder instancePassword(InstancePassword instancePassword) { this.instancePassword = instancePassword; @@ -11296,7 +13362,7 @@ public Builder instancePassword(InstancePassword instancePassword) { } /** - * InstanceType. + *The instance type.
*/ public Builder instanceType(InstanceType instanceType) { this.instanceType = instanceType; @@ -11304,7 +13370,7 @@ public Builder instanceType(InstanceType instanceType) { } /** - * InstanceUsername. + *The username that is used to access the instance.
*/ public Builder instanceUsername(InstanceUsername instanceUsername) { this.instanceUsername = instanceUsername; @@ -11320,7 +13386,11 @@ public Builder keys(Keys keys) { } /** - * Network. + *The network type. Valid values:
+ *The properties that you want to use to filter messages.
+ *The attributes that you want to use to filter messages.
*/ public Builder properties(SinkRocketMQParametersProperties properties) { this.properties = properties; @@ -11336,7 +13406,7 @@ public Builder properties(SinkRocketMQParametersProperties properties) { } /** - *The ID of the security group to which the Managed Service for Prometheus instance belongs.
+ *The ID of the security group.
*/ public Builder securityGroupId(SinkRocketMQParametersSecurityGroupId securityGroupId) { this.securityGroupId = securityGroupId; @@ -11344,7 +13414,10 @@ public Builder securityGroupId(SinkRocketMQParametersSecurityGroupId securityGro } /** - * ShardingKey. + *The sharding key.
+ *+ **/ public Builder shardingKey(ShardingKey shardingKey) { this.shardingKey = shardingKey; @@ -11360,7 +13433,7 @@ public Builder tags(Tags tags) { } /** - *If you set DeliveryOrderType to Orderly, this parameter is required. If you specify ApsaraMQ for RocketMQ as the event source, you can leave this parameter empty. In this case, the combined value of BrokerName and QueueId is used as the sharding key.
+ *
The topic on the ApsaraMQ for RocketMQ instance.
+ *The name of the topic on the ApsaraMQ for RocketMQ instance.
*/ public Builder topic(SinkRocketMQParametersTopic topic) { this.topic = topic; @@ -11368,15 +13441,15 @@ public Builder topic(SinkRocketMQParametersTopic topic) { } /** - * VSwitchIds. + *The vSwitch ID.
*/ - public Builder vSwitchIds(VSwitchIds vSwitchIds) { + public Builder vSwitchIds(SinkRocketMQParametersVSwitchIds vSwitchIds) { this.vSwitchIds = vSwitchIds; return this; } /** - *The ID of the VPC to which the Managed Service for Prometheus instance belongs.
+ *The virtual private cloud (VPC) ID.
*/ public Builder vpcId(SinkRocketMQParametersVpcId vpcId) { this.vpcId = vpcId; @@ -11467,7 +13540,7 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: *The value of ${key} is ${value}!
@@ -11478,7 +13551,7 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The value before event transformation.
* * example: *{ @@ -11566,7 +13639,7 @@ private Builder(SinkSLSParametersContentSchema model) { *
The method that you want to use to transform events.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -11574,10 +13647,10 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: - *The value of ${key} is ${value}!
+ *None
*/ public Builder template(String template) { this.template = template; @@ -11585,12 +13658,10 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The key-value pair of custom logs.
* * example: - *{ - * "key": "value" - * }
+ *{"Key_1":{"form":"CONSTANT","value":"demoKey"},"Value_1":{"form":"JSONPATH","value":"$.data.value"}}
*/ public Builder value(String value) { this.value = value; @@ -11673,7 +13744,7 @@ private Builder(SinkSLSParametersContentType model) { *The method that you want to use to transform events.
* * example: - *TEMPLATE
+ *CONSTANT
*/ public Builder form(String form) { this.form = form; @@ -11681,10 +13752,10 @@ public Builder form(String form) { } /** - *The template based on which you want to transform events.
+ *The template based on which you want events to be transformed.
* * example: - *The value of ${key} is ${value}!
+ *None
*/ public Builder template(String template) { this.template = template; @@ -11692,12 +13763,10 @@ public Builder template(String template) { } /** - *The value before transformation.
+ *The format of the Simple Log Service data.
* * example: - *{ - * "key": "value" - * }
+ *JSON
*/ public Builder value(String value) { this.value = value; @@ -12245,7 +14314,7 @@ public Builder body(SinkSLSParametersBody body) { } /** - * ContentSchema. + *The key-value pair of custom logs. This parameter takes effect only if you set ContentType to KeyValue. Each key-value pair is in the Key_n, Value_n format.
*/ public Builder contentSchema(SinkSLSParametersContentSchema contentSchema) { this.contentSchema = contentSchema; @@ -12253,7 +14322,11 @@ public Builder contentSchema(SinkSLSParametersContentSchema contentSchema) { } /** - * ContentType. + *The format of the Simple Log Service data. Valid values:
+ *The parameters that are configured if you specify Apache RocketMQ (Offset Data) as the event target.
*/ public Builder sinkApacheRocketMQCheckpointParameters(SinkApacheRocketMQCheckpointParameters sinkApacheRocketMQCheckpointParameters) { this.sinkApacheRocketMQCheckpointParameters = sinkApacheRocketMQCheckpointParameters; @@ -12542,7 +14628,7 @@ public Builder sinkApacheRocketMQCheckpointParameters(SinkApacheRocketMQCheckpoi } /** - * SinkBaiLianParameters. + *The parameters that are configured if you specify BaiLian as the event target.
*/ public Builder sinkBaiLianParameters(SinkBaiLianParameters sinkBaiLianParameters) { this.sinkBaiLianParameters = sinkBaiLianParameters; @@ -12550,7 +14636,7 @@ public Builder sinkBaiLianParameters(SinkBaiLianParameters sinkBaiLianParameters } /** - * SinkCustomizedKafkaConnectorParameters. + *The parameters that are configured if you specify Kafka Sink Connect as the event target.
*/ public Builder sinkCustomizedKafkaConnectorParameters(SinkCustomizedKafkaConnectorParameters sinkCustomizedKafkaConnectorParameters) { this.sinkCustomizedKafkaConnectorParameters = sinkCustomizedKafkaConnectorParameters; @@ -12558,7 +14644,7 @@ public Builder sinkCustomizedKafkaConnectorParameters(SinkCustomizedKafkaConnect } /** - * SinkCustomizedKafkaParameters. + *The parameters that are configured if you specify Kafka Source Connect as the event target.
*/ public Builder sinkCustomizedKafkaParameters(SinkCustomizedKafkaParameters sinkCustomizedKafkaParameters) { this.sinkCustomizedKafkaParameters = sinkCustomizedKafkaParameters; @@ -12566,7 +14652,7 @@ public Builder sinkCustomizedKafkaParameters(SinkCustomizedKafkaParameters sinkC } /** - * SinkDashVectorParameters. + *The parameters that are configured if you specify DashVector as the event target.
*/ public Builder sinkDashVectorParameters(SinkDashVectorParameters sinkDashVectorParameters) { this.sinkDashVectorParameters = sinkDashVectorParameters; @@ -12574,13 +14660,21 @@ public Builder sinkDashVectorParameters(SinkDashVectorParameters sinkDashVectorP } /** - * SinkDataHubParameters. + *The parameters that are configured if you specify DataHub as the event target.
*/ public Builder sinkDataHubParameters(SinkDataHubParameters sinkDataHubParameters) { this.sinkDataHubParameters = sinkDataHubParameters; return this; } + /** + *The type of the event source.
+ */ + public Builder sinkDorisParameters(SinkDorisParameters sinkDorisParameters) { + this.sinkDorisParameters = sinkDorisParameters; + return this; + } + /** *The parameters that are configured if you specify Function Compute as the event target.
*/ @@ -12606,7 +14700,7 @@ public Builder sinkKafkaParameters(SinkKafkaParameters sinkKafkaParameters) { } /** - *The parameters that are configured if you specify MNS as the event target.
+ *The parameters that are configured if you specify Simple Message Queue (SMQ, formerly MNS) as the event target.
*/ public Builder sinkMNSParameters(SinkMNSParameters sinkMNSParameters) { this.sinkMNSParameters = sinkMNSParameters; @@ -12614,7 +14708,7 @@ public Builder sinkMNSParameters(SinkMNSParameters sinkMNSParameters) { } /** - * SinkOpenSourceRabbitMQParameters. + *The parameters that are configured if you specify open source RabbitMQ as the event target.
*/ public Builder sinkOpenSourceRabbitMQParameters(SinkOpenSourceRabbitMQParameters sinkOpenSourceRabbitMQParameters) { this.sinkOpenSourceRabbitMQParameters = sinkOpenSourceRabbitMQParameters; @@ -12638,7 +14732,7 @@ public Builder sinkRabbitMQParameters(SinkRabbitMQParameters sinkRabbitMQParamet } /** - * SinkRocketMQCheckpointParameters. + *The parameters that are configured if you specify ApsaraMQ for RocketMQ (Offset Data) as the event target.
*/ public Builder sinkRocketMQCheckpointParameters(SinkRocketMQCheckpointParameters sinkRocketMQCheckpointParameters) { this.sinkRocketMQCheckpointParameters = sinkRocketMQCheckpointParameters; @@ -12812,7 +14906,7 @@ private Builder(SourceApacheRocketMQCheckpointParameters model) { } /** - * InstanceEndpoint. + *The endpoint that is used to access the instance.
*/ public Builder instanceEndpoint(String instanceEndpoint) { this.instanceEndpoint = instanceEndpoint; @@ -12820,7 +14914,7 @@ public Builder instanceEndpoint(String instanceEndpoint) { } /** - * InstancePassword. + *The password that is used to access the instance.
*/ public Builder instancePassword(String instancePassword) { this.instancePassword = instancePassword; @@ -12828,7 +14922,7 @@ public Builder instancePassword(String instancePassword) { } /** - * InstanceUsername. + *The username that is used to access the instance.
*/ public Builder instanceUsername(String instanceUsername) { this.instanceUsername = instanceUsername; @@ -12852,7 +14946,7 @@ public Builder regionId(String regionId) { } /** - *The ID of the security group to which the Managed Service for Prometheus instance belongs.
+ *The ID of the security group.
*/ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; @@ -12868,7 +14962,7 @@ public Builder topics(java.util.ListThe ID of the vSwitch with which the Managed Service for Prometheus instance is associated.
+ *The vSwitch ID.
*/ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; @@ -12876,7 +14970,10 @@ public Builder vSwitchId(String vSwitchId) { } /** - *The ID of the VPC to which the Managed Service for Prometheus instance belongs.
+ *VPC ID。
+ * + * example: + *vpc-adw1awdw*****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -12943,7 +15040,14 @@ private Builder(SourceCustomizedKafkaConnectorParametersConnectorParameters mode } /** - * Config. + *The connector configurations.
+ * + * example: + *{ + * "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector", + * "tasks.max": "1", + * "topics": "sourceA,sourceB" + * }
*/ public Builder config(java.util.MapThe connector name.
+ * + * example: + *mongo-sink
*/ public Builder name(String name) { this.name = name; @@ -13031,7 +15138,10 @@ private Builder(SourceCustomizedKafkaConnectorParameters model) { } /** - * ConnectorPackageUrl. + *The download link of the ZIP package that includes Object Storage Service (OSS) resources.
+ * + * example: + * */ public Builder connectorPackageUrl(String connectorPackageUrl) { this.connectorPackageUrl = connectorPackageUrl; @@ -13039,7 +15149,7 @@ public Builder connectorPackageUrl(String connectorPackageUrl) { } /** - * ConnectorParameters. + *The parameters that are configured for the parsing of the .properties file in the ZIP package.
*/ public Builder connectorParameters(SourceCustomizedKafkaConnectorParametersConnectorParameters connectorParameters) { this.connectorParameters = connectorParameters; @@ -13047,7 +15157,17 @@ public Builder connectorParameters(SourceCustomizedKafkaConnectorParametersConne } /** - * WorkerParameters. + *The instance configurations.
+ * + * example: + *{ + * "group.id": "connect-eb-cluster-KAFKA_CONNECTORC", + * "offset.storage.topic": "connect-eb-offset-KAFKA_CONNECTOR_yjqC8K5ewC", + * "config.storage.topic": "connect-eb-config-KAFKA_CONNECTOR_yjqC8K5ewC", + * "status.storage.topic": "connect-eb-status-KAFKA_CONNECTOR_yjqC8K5ewC", + * "consumer.group.id": "connector-eb-cluster-KAFKA_CONNECTOR_yjqC8K5ewC-mongo-sink", + * "bootstrap.servers": "alikafka-post:9092" + * }
*/ public Builder workerParameters(java.util.MapThe authentication type. Valid values:
+ *ACL
*/ public Builder authType(String authType) { this.authType = authType; @@ -14237,7 +16364,10 @@ public Builder bodyDataType(String bodyDataType) { } /** - * Endpoint. + *The endpoint used to access the open source RabbitMQ instance.
+ * + * example: + *192.168.1.1:9876
*/ public Builder endpoint(String endpoint) { this.endpoint = endpoint; @@ -14316,10 +16446,10 @@ public Builder virtualHostName(String virtualHostName) { } /** - *The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.
+ *VPC ID。
* * example: - *vpc-2ze6p0o345nykmekxtuop
+ *vpc-m5e3sv4b12345****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; @@ -14723,7 +16853,7 @@ public Builder instanceId(String instanceId) { } /** - * InstanceType. + *The instance type.
*/ public Builder instanceType(String instanceType) { this.instanceType = instanceType; @@ -15322,10 +17452,10 @@ public Builder vSwitchIds(String vSwitchIds) { } /** - *The ID of the VPC to which the ApsaraMQ for Kafka instance belongs.
+ *VPC ID。
* * example: - *vpc-2ze6p0o345nykmekxtuop
+ *vpc-m5e3sv4b12345****
*/ public Builder vpcId(String vpcId) { this.vpcId = vpcId; diff --git a/paistudio-20220112/ChangeLog.txt b/paistudio-20220112/ChangeLog.txt index e28384bf73..a8756e99b4 100644 --- a/paistudio-20220112/ChangeLog.txt +++ b/paistudio-20220112/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-06-18 Version: 2.0.4 +- Generated java-async 2022-01-12 for PaiStudio. + 2025-04-16 Version: 2.0.3 - Generated java-async 2022-01-12 for PaiStudio. diff --git a/paistudio-20220112/pom.xml b/paistudio-20220112/pom.xml index e6400145c6..7a0444ea7e 100644 --- a/paistudio-20220112/pom.xml +++ b/paistudio-20220112/pom.xml @@ -3,7 +3,7 @@CacheInfo
+ */ +public class CacheInfo extends TeaModel { + @com.aliyun.core.annotation.NameInMap("MountPoint") + private String mountPoint; + + @com.aliyun.core.annotation.NameInMap("Port") + private String port; + + private CacheInfo(Builder builder) { + this.mountPoint = builder.mountPoint; + this.port = builder.port; + } + + public static Builder builder() { + return new Builder(); + } + + public static CacheInfo create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return mountPoint + */ + public String getMountPoint() { + return this.mountPoint; + } + + /** + * @return port + */ + public String getPort() { + return this.port; + } + + public static final class Builder { + private String mountPoint; + private String port; + + private Builder() { + } + + private Builder(CacheInfo model) { + this.mountPoint = model.mountPoint; + this.port = model.port; + } + + /** + * MountPoint. + */ + public Builder mountPoint(String mountPoint) { + this.mountPoint = mountPoint; + return this; + } + + /** + * Port. + */ + public Builder port(String port) { + this.port = port; + return this; + } + + public CacheInfo build() { + return new CacheInfo(this); + } + + } + +} diff --git a/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/CacheService.java b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/CacheService.java new file mode 100644 index 0000000000..92438e3652 --- /dev/null +++ b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/CacheService.java @@ -0,0 +1,259 @@ +// This file is auto-generated, don't edit it. Thanks. +package com.aliyun.sdk.service.paistudio20220112.models; + +import com.aliyun.sdk.gateway.pop.*; +import darabonba.core.*; +import darabonba.core.async.*; +import darabonba.core.sync.*; +import darabonba.core.client.*; +import darabonba.core.RequestModel; +import darabonba.core.TeaModel; +import com.aliyun.sdk.gateway.pop.models.*; + +/** + * + * {@link CacheService} extends {@link TeaModel} + * + *CacheService
+ */ +public class CacheService extends TeaModel { + @com.aliyun.core.annotation.NameInMap("CacheInfos") + private java.util.ListOversoldUsageConfig
+ */ +public class OversoldUsageConfig extends TeaModel { + @com.aliyun.core.annotation.NameInMap("Disabled") + private String disabled; + + @com.aliyun.core.annotation.NameInMap("DisabledBy") + private String disabledBy; + + private OversoldUsageConfig(Builder builder) { + this.disabled = builder.disabled; + this.disabledBy = builder.disabledBy; + } + + public static Builder builder() { + return new Builder(); + } + + public static OversoldUsageConfig create() { + return builder().build(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + /** + * @return disabled + */ + public String getDisabled() { + return this.disabled; + } + + /** + * @return disabledBy + */ + public String getDisabledBy() { + return this.disabledBy; + } + + public static final class Builder { + private String disabled; + private String disabledBy; + + private Builder() { + } + + private Builder(OversoldUsageConfig model) { + this.disabled = model.disabled; + this.disabledBy = model.disabledBy; + } + + /** + * Disabled. + */ + public Builder disabled(String disabled) { + this.disabled = disabled; + return this; + } + + /** + * DisabledBy. + */ + public Builder disabledBy(String disabledBy) { + this.disabledBy = disabledBy; + return this; + } + + public OversoldUsageConfig build() { + return new OversoldUsageConfig(this); + } + + } + +} diff --git a/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QueueInfo.java b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QueueInfo.java index 6a64dd631e..e4729cba95 100644 --- a/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QueueInfo.java +++ b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QueueInfo.java @@ -59,6 +59,9 @@ public class QueueInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private String status; + @com.aliyun.core.annotation.NameInMap("UseOversoldResource") + private Boolean useOversoldResource; + @com.aliyun.core.annotation.NameInMap("UserId") private String userId; @@ -80,6 +83,9 @@ public class QueueInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("WorkspaceId") private String workspaceId; + @com.aliyun.core.annotation.NameInMap("WorkspaceName") + private String workspaceName; + private QueueInfo(Builder builder) { this.code = builder.code; this.codeType = builder.codeType; @@ -95,6 +101,7 @@ private QueueInfo(Builder builder) { this.reason = builder.reason; this.resource = builder.resource; this.status = builder.status; + this.useOversoldResource = builder.useOversoldResource; this.userId = builder.userId; this.userName = builder.userName; this.workloadId = builder.workloadId; @@ -102,6 +109,7 @@ private QueueInfo(Builder builder) { this.workloadStatus = builder.workloadStatus; this.workloadType = builder.workloadType; this.workspaceId = builder.workspaceId; + this.workspaceName = builder.workspaceName; } public static Builder builder() { @@ -214,6 +222,13 @@ public String getStatus() { return this.status; } + /** + * @return useOversoldResource + */ + public Boolean getUseOversoldResource() { + return this.useOversoldResource; + } + /** * @return userId */ @@ -263,6 +278,13 @@ public String getWorkspaceId() { return this.workspaceId; } + /** + * @return workspaceName + */ + public String getWorkspaceName() { + return this.workspaceName; + } + public static final class Builder { private String code; private String codeType; @@ -278,6 +300,7 @@ public static final class Builder { private String reason; private ResourceAmount resource; private String status; + private Boolean useOversoldResource; private String userId; private String userName; private String workloadId; @@ -285,6 +308,7 @@ public static final class Builder { private String workloadStatus; private String workloadType; private String workspaceId; + private String workspaceName; private Builder() { } @@ -304,6 +328,7 @@ private Builder(QueueInfo model) { this.reason = model.reason; this.resource = model.resource; this.status = model.status; + this.useOversoldResource = model.useOversoldResource; this.userId = model.userId; this.userName = model.userName; this.workloadId = model.workloadId; @@ -311,6 +336,7 @@ private Builder(QueueInfo model) { this.workloadStatus = model.workloadStatus; this.workloadType = model.workloadType; this.workspaceId = model.workspaceId; + this.workspaceName = model.workspaceName; } /** @@ -425,6 +451,14 @@ public Builder status(String status) { return this; } + /** + * UseOversoldResource. + */ + public Builder useOversoldResource(Boolean useOversoldResource) { + this.useOversoldResource = useOversoldResource; + return this; + } + /** * UserId. */ @@ -481,6 +515,14 @@ public Builder workspaceId(String workspaceId) { return this; } + /** + * WorkspaceName. + */ + public Builder workspaceName(String workspaceName) { + this.workspaceName = workspaceName; + return this; + } + public QueueInfo build() { return new QueueInfo(this); } diff --git a/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QuotaConfig.java b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QuotaConfig.java index c971ebcc1a..036b086cd5 100644 --- a/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QuotaConfig.java +++ b/paistudio-20220112/src/main/java/com/aliyun/sdk/service/paistudio20220112/models/QuotaConfig.java @@ -26,15 +26,24 @@ public class QuotaConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("DefaultGPUDriver") private String defaultGPUDriver; + @com.aliyun.core.annotation.NameInMap("EnableGPUShare") + private Boolean enableGPUShare; + @com.aliyun.core.annotation.NameInMap("EnablePreemptSubquotaWorkloads") private Boolean enablePreemptSubquotaWorkloads; @com.aliyun.core.annotation.NameInMap("EnableSubQuotaPreemption") private Boolean enableSubQuotaPreemption; + @com.aliyun.core.annotation.NameInMap("OversoldUsageInfo") + private OversoldUsageConfig oversoldUsageInfo; + @com.aliyun.core.annotation.NameInMap("ResourceSpecs") private java.util.ListSelfQuotaPreemptionConfig
+ */ +public class SelfQuotaPreemptionConfig extends TeaModel { + @com.aliyun.core.annotation.NameInMap("PreemptedPriorities") + private java.util.List