Skip to content

Commit 41f3090

Browse files
committed
Generated java-async 2020-12-30 for Sls.
1 parent 0d9067c commit 41f3090

File tree

502 files changed

+8792
-2550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

502 files changed

+8792
-2550
lines changed

sls-20201230/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-09 Version: 4.0.9
2+
- Generated java-async 2020-12-30 for Sls.
3+
14
2025-01-08 Version: 4.0.8
25
- Generated java-async 2020-12-30 for Sls.
36

sls-20201230/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-sls20201230</artifactId>
6-
<version>4.0.8</version>
6+
<version>4.0.9</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-sls20201230</name>
99
<description>Alibaba Cloud Sls (20201230) Async SDK for Java
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>1.6</version>
79+
<version>3.1.0</version>
8080
<executions>
8181
<execution>
8282
<id>sign-artifacts</id>

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/AsyncClient.java

Lines changed: 186 additions & 63 deletions
Large diffs are not rendered by default.

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/DefaultAsyncClient.java

Lines changed: 364 additions & 133 deletions
Large diffs are not rendered by default.

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/Alert.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ public static Alert create() {
6464
return builder().build();
6565
}
6666

67+
public Builder toBuilder() {
68+
return new Builder(this);
69+
}
70+
6771
/**
6872
* @return configuration
6973
*/
@@ -130,6 +134,20 @@ public static final class Builder {
130134
private Schedule schedule;
131135
private String status;
132136

137+
private Builder() {
138+
}
139+
140+
private Builder(Alert model) {
141+
this.configuration = model.configuration;
142+
this.createTime = model.createTime;
143+
this.description = model.description;
144+
this.displayName = model.displayName;
145+
this.lastModifiedTime = model.lastModifiedTime;
146+
this.name = model.name;
147+
this.schedule = model.schedule;
148+
this.status = model.status;
149+
}
150+
133151
/**
134152
* <p>This parameter is required.</p>
135153
*/

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/AlertConfiguration.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ public static AlertConfiguration create() {
124124
return builder().build();
125125
}
126126

127+
public Builder toBuilder() {
128+
return new Builder(this);
129+
}
130+
127131
/**
128132
* @return annotations
129133
*/
@@ -302,6 +306,34 @@ public static final class Builder {
302306
private String type;
303307
private String version;
304308

309+
private Builder() {
310+
}
311+
312+
private Builder(AlertConfiguration model) {
313+
this.annotations = model.annotations;
314+
this.autoAnnotation = model.autoAnnotation;
315+
this.conditionConfiguration = model.conditionConfiguration;
316+
this.dashboard = model.dashboard;
317+
this.groupConfiguration = model.groupConfiguration;
318+
this.joinConfigurations = model.joinConfigurations;
319+
this.labels = model.labels;
320+
this.muteUntil = model.muteUntil;
321+
this.noDataFire = model.noDataFire;
322+
this.noDataSeverity = model.noDataSeverity;
323+
this.policyConfiguration = model.policyConfiguration;
324+
this.queryList = model.queryList;
325+
this.sendResolved = model.sendResolved;
326+
this.severityConfigurations = model.severityConfigurations;
327+
this.sinkAlerthub = model.sinkAlerthub;
328+
this.sinkCms = model.sinkCms;
329+
this.sinkEventStore = model.sinkEventStore;
330+
this.tags = model.tags;
331+
this.templateConfiguration = model.templateConfiguration;
332+
this.threshold = model.threshold;
333+
this.type = model.type;
334+
this.version = model.version;
335+
}
336+
305337
/**
306338
* annotations.
307339
*/

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/AlertQuery.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ public static AlertQuery create() {
8888
return builder().build();
8989
}
9090

91+
public Builder toBuilder() {
92+
return new Builder(this);
93+
}
94+
9195
/**
9296
* @return chartTitle
9397
*/
@@ -194,6 +198,25 @@ public static final class Builder {
194198
private String timeSpanType;
195199
private String ui;
196200

201+
private Builder() {
202+
}
203+
204+
private Builder(AlertQuery model) {
205+
this.chartTitle = model.chartTitle;
206+
this.dashboardId = model.dashboardId;
207+
this.end = model.end;
208+
this.powerSqlMode = model.powerSqlMode;
209+
this.project = model.project;
210+
this.query = model.query;
211+
this.region = model.region;
212+
this.roleArn = model.roleArn;
213+
this.start = model.start;
214+
this.store = model.store;
215+
this.storeType = model.storeType;
216+
this.timeSpanType = model.timeSpanType;
217+
this.ui = model.ui;
218+
}
219+
197220
/**
198221
* chartTitle.
199222
*/

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/AlertTag.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ public static AlertTag create() {
3636
return builder().build();
3737
}
3838

39+
public Builder toBuilder() {
40+
return new Builder(this);
41+
}
42+
3943
/**
4044
* @return key
4145
*/
@@ -54,6 +58,14 @@ public static final class Builder {
5458
private String key;
5559
private String value;
5660

61+
private Builder() {
62+
}
63+
64+
private Builder(AlertTag model) {
65+
this.key = model.key;
66+
this.value = model.value;
67+
}
68+
5769
/**
5870
* key.
5971
*/

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/ApplyConfigToMachineGroupRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static ApplyConfigToMachineGroupRequest create() {
4646
return builder().build();
4747
}
4848

49-
@Override
49+
@Override
5050
public Builder toBuilder() {
5151
return new Builder(this);
5252
}

sls-20201230/src/main/java/com/aliyun/sdk/service/sls20201230/models/ApplyConfigToMachineGroupResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static ApplyConfigToMachineGroupResponse create() {
3333
return new BuilderImpl().build();
3434
}
3535

36-
@Override
36+
@Override
3737
public Builder toBuilder() {
3838
return new BuilderImpl(this);
3939
}
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.sls20201230.models;
3+
4+
import com.aliyun.sdk.gateway.sls.*;
5+
import darabonba.core.*;
6+
import darabonba.core.async.*;
7+
import darabonba.core.sync.*;
8+
import darabonba.core.client.*;
9+
import darabonba.core.RequestModel;
10+
import darabonba.core.TeaModel;
11+
import com.aliyun.sdk.gateway.sls.models.*;
12+
13+
/**
14+
*
15+
* {@link CallAiToolsRequest} extends {@link RequestModel}
16+
*
17+
* <p>CallAiToolsRequest</p>
18+
*/
19+
public class CallAiToolsRequest extends Request {
20+
@com.aliyun.core.annotation.Body
21+
@com.aliyun.core.annotation.NameInMap("params")
22+
private java.util.Map<String, String> params;
23+
24+
@com.aliyun.core.annotation.Body
25+
@com.aliyun.core.annotation.NameInMap("regionId")
26+
private String regionId;
27+
28+
@com.aliyun.core.annotation.Body
29+
@com.aliyun.core.annotation.NameInMap("toolName")
30+
@com.aliyun.core.annotation.Validation(required = true)
31+
private String toolName;
32+
33+
private CallAiToolsRequest(Builder builder) {
34+
super(builder);
35+
this.params = builder.params;
36+
this.regionId = builder.regionId;
37+
this.toolName = builder.toolName;
38+
}
39+
40+
public static Builder builder() {
41+
return new Builder();
42+
}
43+
44+
public static CallAiToolsRequest create() {
45+
return builder().build();
46+
}
47+
48+
@Override
49+
public Builder toBuilder() {
50+
return new Builder(this);
51+
}
52+
53+
/**
54+
* @return params
55+
*/
56+
public java.util.Map<String, String> getParams() {
57+
return this.params;
58+
}
59+
60+
/**
61+
* @return regionId
62+
*/
63+
public String getRegionId() {
64+
return this.regionId;
65+
}
66+
67+
/**
68+
* @return toolName
69+
*/
70+
public String getToolName() {
71+
return this.toolName;
72+
}
73+
74+
public static final class Builder extends Request.Builder<CallAiToolsRequest, Builder> {
75+
private java.util.Map<String, String> params;
76+
private String regionId;
77+
private String toolName;
78+
79+
private Builder() {
80+
super();
81+
}
82+
83+
private Builder(CallAiToolsRequest request) {
84+
super(request);
85+
this.params = request.params;
86+
this.regionId = request.regionId;
87+
this.toolName = request.toolName;
88+
}
89+
90+
/**
91+
* params.
92+
*/
93+
public Builder params(java.util.Map<String, String> params) {
94+
this.putBodyParameter("params", params);
95+
this.params = params;
96+
return this;
97+
}
98+
99+
/**
100+
* regionId.
101+
*/
102+
public Builder regionId(String regionId) {
103+
this.putBodyParameter("regionId", regionId);
104+
this.regionId = regionId;
105+
return this;
106+
}
107+
108+
/**
109+
* <p>This parameter is required.</p>
110+
*/
111+
public Builder toolName(String toolName) {
112+
this.putBodyParameter("toolName", toolName);
113+
this.toolName = toolName;
114+
return this;
115+
}
116+
117+
@Override
118+
public CallAiToolsRequest build() {
119+
return new CallAiToolsRequest(this);
120+
}
121+
122+
}
123+
124+
}

0 commit comments

Comments
 (0)