Skip to content

Commit 6016cd1

Browse files
committed
Generated java-async 2018-12-01 for cr.
1 parent 43a4570 commit 6016cd1

24 files changed

+779
-131
lines changed

cr-20181201/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-10 Version: 1.0.2
2+
- Generated java-async 2018-12-01 for cr.
3+
14
2025-04-15 Version: 1.0.1
25
- Generated java-async 2018-12-01 for cr.
36

cr-20181201/pom.xml

Lines changed: 1 addition & 1 deletion
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-cr20181201</artifactId>
6-
<version>1.0.1</version>
6+
<version>1.0.2</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-cr20181201</name>
99
<description>Alibaba Cloud cr (20181201) Async SDK for Java

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateBuildRecordByRecordRequest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public Builder regionId(String regionId) {
113113
}
114114

115115
/**
116+
* <p>The ID of the image building record.</p>
116117
* <p>This parameter is required.</p>
117118
*
118119
* <strong>example:</strong>
@@ -125,6 +126,7 @@ public Builder buildRecordId(String buildRecordId) {
125126
}
126127

127128
/**
129+
* <p>The instance ID.</p>
128130
* <p>This parameter is required.</p>
129131
*
130132
* <strong>example:</strong>
@@ -137,6 +139,7 @@ public Builder instanceId(String instanceId) {
137139
}
138140

139141
/**
142+
* <p>The ID of the image repository.</p>
140143
* <p>This parameter is required.</p>
141144
*
142145
* <strong>example:</strong>

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateBuildRecordByRecordResponseBody.java

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,31 +93,47 @@ private Builder(CreateBuildRecordByRecordResponseBody model) {
9393
}
9494

9595
/**
96-
* BuildRecordId.
96+
* <p>The ID of the image building record.</p>
97+
*
98+
* <strong>example:</strong>
99+
* <p>crbr-ly77w5i3t31f****</p>
97100
*/
98101
public Builder buildRecordId(String buildRecordId) {
99102
this.buildRecordId = buildRecordId;
100103
return this;
101104
}
102105

103106
/**
104-
* Code.
107+
* <p>The HTTP status code. The status code 200 indicates that the request is successful.<br>Other status codes indicate that the request failed.</p>
108+
*
109+
* <strong>example:</strong>
110+
* <p>success</p>
105111
*/
106112
public Builder code(String code) {
107113
this.code = code;
108114
return this;
109115
}
110116

111117
/**
112-
* IsSuccess.
118+
* <p>Indicates whether the request is successful. Valid values:</p>
119+
* <ul>
120+
* <li><code>true</code>: The request is successful.</li>
121+
* <li><code>false</code>: The request fails.</li>
122+
* </ul>
123+
*
124+
* <strong>example:</strong>
125+
* <p>true</p>
113126
*/
114127
public Builder isSuccess(Boolean isSuccess) {
115128
this.isSuccess = isSuccess;
116129
return this;
117130
}
118131

119132
/**
120-
* RequestId.
133+
* <p>The request ID.</p>
134+
*
135+
* <strong>example:</strong>
136+
* <p>4CE1F661-75DD-4EBD-A4AD-057B26834ABB</p>
121137
*/
122138
public Builder requestId(String requestId) {
123139
this.requestId = requestId;

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateNamespaceRequest.java

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,13 @@ public class CreateNamespaceRequest extends Request {
2525
@com.aliyun.core.annotation.NameInMap("AutoCreateRepo")
2626
private Boolean autoCreateRepo;
2727

28+
@com.aliyun.core.annotation.Query
29+
@com.aliyun.core.annotation.NameInMap("DefaultRepoConfiguration")
30+
private RepoConfiguration defaultRepoConfiguration;
31+
2832
@com.aliyun.core.annotation.Query
2933
@com.aliyun.core.annotation.NameInMap("DefaultRepoType")
34+
@Deprecated
3035
private String defaultRepoType;
3136

3237
@com.aliyun.core.annotation.Query
@@ -43,6 +48,7 @@ private CreateNamespaceRequest(Builder builder) {
4348
super(builder);
4449
this.regionId = builder.regionId;
4550
this.autoCreateRepo = builder.autoCreateRepo;
51+
this.defaultRepoConfiguration = builder.defaultRepoConfiguration;
4652
this.defaultRepoType = builder.defaultRepoType;
4753
this.instanceId = builder.instanceId;
4854
this.namespaceName = builder.namespaceName;
@@ -75,6 +81,13 @@ public Boolean getAutoCreateRepo() {
7581
return this.autoCreateRepo;
7682
}
7783

84+
/**
85+
* @return defaultRepoConfiguration
86+
*/
87+
public RepoConfiguration getDefaultRepoConfiguration() {
88+
return this.defaultRepoConfiguration;
89+
}
90+
7891
/**
7992
* @return defaultRepoType
8093
*/
@@ -99,6 +112,7 @@ public String getNamespaceName() {
99112
public static final class Builder extends Request.Builder<CreateNamespaceRequest, Builder> {
100113
private String regionId;
101114
private Boolean autoCreateRepo;
115+
private RepoConfiguration defaultRepoConfiguration;
102116
private String defaultRepoType;
103117
private String instanceId;
104118
private String namespaceName;
@@ -111,6 +125,7 @@ private Builder(CreateNamespaceRequest request) {
111125
super(request);
112126
this.regionId = request.regionId;
113127
this.autoCreateRepo = request.autoCreateRepo;
128+
this.defaultRepoConfiguration = request.defaultRepoConfiguration;
114129
this.defaultRepoType = request.defaultRepoType;
115130
this.instanceId = request.instanceId;
116131
this.namespaceName = request.namespaceName;
@@ -138,10 +153,20 @@ public Builder autoCreateRepo(Boolean autoCreateRepo) {
138153
}
139154

140155
/**
141-
* <p>The default type of the repository that is automatically created. Valid values:</p>
156+
* DefaultRepoConfiguration.
157+
*/
158+
public Builder defaultRepoConfiguration(RepoConfiguration defaultRepoConfiguration) {
159+
String defaultRepoConfigurationShrink = shrink(defaultRepoConfiguration, "DefaultRepoConfiguration", "json");
160+
this.putQueryParameter("DefaultRepoConfiguration", defaultRepoConfigurationShrink);
161+
this.defaultRepoConfiguration = defaultRepoConfiguration;
162+
return this;
163+
}
164+
165+
/**
166+
* <p>The default type of the repositories that are automatically created in the namespace. Valid values:</p>
142167
* <ul>
143-
* <li><code>PUBLIC</code>: a public repository</li>
144-
* <li><code>PRIVATE</code>: a private repository</li>
168+
* <li><code>PUBLIC</code>: public repositories</li>
169+
* <li><code>PRIVATE</code>: private repositories.</li>
145170
* </ul>
146171
*
147172
* <strong>example:</strong>

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateRepoSyncRuleRequest.java

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public Builder regionId(String regionId) {
258258
}
259259

260260
/**
261+
* <p>The source instance ID.</p>
261262
* <p>This parameter is required.</p>
262263
*
263264
* <strong>example:</strong>
@@ -270,6 +271,7 @@ public Builder instanceId(String instanceId) {
270271
}
271272

272273
/**
274+
* <p>The namespace name of the source instance.</p>
273275
* <p>This parameter is required.</p>
274276
*
275277
* <strong>example:</strong>
@@ -282,7 +284,10 @@ public Builder namespaceName(String namespaceName) {
282284
}
283285

284286
/**
285-
* RepoName.
287+
* <p>The name of the image repository in the source instance.</p>
288+
*
289+
* <strong>example:</strong>
290+
* <p>repo1</p>
286291
*/
287292
public Builder repoName(String repoName) {
288293
this.putQueryParameter("RepoName", repoName);
@@ -291,7 +296,7 @@ public Builder repoName(String repoName) {
291296
}
292297

293298
/**
294-
* <p>The rule that is used to filter repositories.</p>
299+
* <p>The regular expression that is used to filter repositories.</p>
295300
* <blockquote>
296301
* <p> This parameter is valid only when SyncScope is set to <code>NAMESPACE</code>.</p>
297302
* </blockquote>
@@ -306,6 +311,7 @@ public Builder repoNameFilter(String repoNameFilter) {
306311
}
307312

308313
/**
314+
* <p>The name of the image synchronization rule.</p>
309315
* <p>This parameter is required.</p>
310316
*
311317
* <strong>example:</strong>
@@ -318,6 +324,11 @@ public Builder syncRuleName(String syncRuleName) {
318324
}
319325

320326
/**
327+
* <p>The synchronization scope. Valid values:</p>
328+
* <ul>
329+
* <li><code>REPO</code>: synchronizes the image tags in an image repository that meet the synchronization rule.</li>
330+
* <li><code>NAMESPACE</code>: synchronizes the image tags in a namespace that meet the synchronization rule.</li>
331+
* </ul>
321332
* <p>This parameter is required.</p>
322333
*
323334
* <strong>example:</strong>
@@ -330,7 +341,14 @@ public Builder syncScope(String syncScope) {
330341
}
331342

332343
/**
333-
* SyncTrigger.
344+
* <p>The mode of triggering the synchronization rule. Valid values:</p>
345+
* <ul>
346+
* <li><code>INITIATIVE</code>: manually triggers the synchronization rule.</li>
347+
* <li><code>PASSIVE</code>: automatically triggers the synchronization rule.</li>
348+
* </ul>
349+
*
350+
* <strong>example:</strong>
351+
* <p>PASSIVE</p>
334352
*/
335353
public Builder syncTrigger(String syncTrigger) {
336354
this.putQueryParameter("SyncTrigger", syncTrigger);
@@ -339,6 +357,7 @@ public Builder syncTrigger(String syncTrigger) {
339357
}
340358

341359
/**
360+
* <p>The regular expression that is used to filter image tags.</p>
342361
* <p>This parameter is required.</p>
343362
*
344363
* <strong>example:</strong>
@@ -351,6 +370,7 @@ public Builder tagFilter(String tagFilter) {
351370
}
352371

353372
/**
373+
* <p>The destination instance ID.</p>
354374
* <p>This parameter is required.</p>
355375
*
356376
* <strong>example:</strong>
@@ -363,6 +383,7 @@ public Builder targetInstanceId(String targetInstanceId) {
363383
}
364384

365385
/**
386+
* <p>The namespace name of the destination instance.</p>
366387
* <p>This parameter is required.</p>
367388
*
368389
* <strong>example:</strong>
@@ -375,6 +396,7 @@ public Builder targetNamespaceName(String targetNamespaceName) {
375396
}
376397

377398
/**
399+
* <p>The region ID of the destination instance.</p>
378400
* <p>This parameter is required.</p>
379401
*
380402
* <strong>example:</strong>
@@ -387,7 +409,10 @@ public Builder targetRegionId(String targetRegionId) {
387409
}
388410

389411
/**
390-
* TargetRepoName.
412+
* <p>The name of the image repository in the destination instance.</p>
413+
*
414+
* <strong>example:</strong>
415+
* <p>repo1</p>
391416
*/
392417
public Builder targetRepoName(String targetRepoName) {
393418
this.putQueryParameter("TargetRepoName", targetRepoName);
@@ -396,7 +421,13 @@ public Builder targetRepoName(String targetRepoName) {
396421
}
397422

398423
/**
399-
* TargetUserId.
424+
* <p>The user ID (UID) of the account to which the destination instance belongs.</p>
425+
* <blockquote>
426+
* <p> If you synchronize images across accounts, you must use the UID.</p>
427+
* </blockquote>
428+
*
429+
* <strong>example:</strong>
430+
* <p>12645940***</p>
400431
*/
401432
public Builder targetUserId(String targetUserId) {
402433
this.putQueryParameter("TargetUserId", targetUserId);

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateRepoSyncRuleResponseBody.java

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,31 +93,43 @@ private Builder(CreateRepoSyncRuleResponseBody model) {
9393
}
9494

9595
/**
96-
* Code.
96+
* <p>The HTTP status code.</p>
97+
*
98+
* <strong>example:</strong>
99+
* <p>success</p>
97100
*/
98101
public Builder code(String code) {
99102
this.code = code;
100103
return this;
101104
}
102105

103106
/**
104-
* IsSuccess.
107+
* <p>Indicates whether the request is successful.</p>
108+
*
109+
* <strong>example:</strong>
110+
* <p>true</p>
105111
*/
106112
public Builder isSuccess(Boolean isSuccess) {
107113
this.isSuccess = isSuccess;
108114
return this;
109115
}
110116

111117
/**
112-
* RequestId.
118+
* <p>The request ID.</p>
119+
*
120+
* <strong>example:</strong>
121+
* <p>8F8A0BA6-7F06-4BAE-B147-10BD6A25****</p>
113122
*/
114123
public Builder requestId(String requestId) {
115124
this.requestId = requestId;
116125
return this;
117126
}
118127

119128
/**
120-
* SyncRuleId.
129+
* <p>The ID of the synchronization rule.</p>
130+
*
131+
* <strong>example:</strong>
132+
* <p>crsr-gk5p2ns1kzns****</p>
121133
*/
122134
public Builder syncRuleId(String syncRuleId) {
123135
this.syncRuleId = syncRuleId;

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateRepoTagScanTaskRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public Builder digest(String digest) {
167167
}
168168

169169
/**
170-
* <p>The ID of the instance.</p>
170+
* <p>The ID of the Container Registry instance.</p>
171171
* <p>This parameter is required.</p>
172172
*
173173
* <strong>example:</strong>
@@ -218,7 +218,7 @@ public Builder scanType(String scanType) {
218218
}
219219

220220
/**
221-
* <p>The version of the image.</p>
221+
* <p>The image version.</p>
222222
* <p>This parameter is required.</p>
223223
*
224224
* <strong>example:</strong>

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/CreateRepoTagScanTaskResponseBody.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public Builder code(String code) {
9191
}
9292

9393
/**
94-
* <p>Indicates whether the request is successful. Valid values:</p>
94+
* <p>Indicates whether the API request is successful. Valid values:</p>
9595
* <ul>
9696
* <li><code>true</code>: The request is successful.</li>
9797
* <li><code>false</code>: The request fails.</li>
@@ -106,7 +106,7 @@ public Builder isSuccess(Boolean isSuccess) {
106106
}
107107

108108
/**
109-
* <p>The ID of the request.</p>
109+
* <p>The request ID.</p>
110110
*
111111
* <strong>example:</strong>
112112
* <p>BC648259-91A7-4502-BED3-EDF64361FA83</p>

cr-20181201/src/main/java/com/aliyun/sdk/service/cr20181201/models/GetInstanceRequest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public Builder regionId(String regionId) {
8383
}
8484

8585
/**
86+
* <p>The ID of the Container Registry instance.</p>
8687
* <p>This parameter is required.</p>
8788
*
8889
* <strong>example:</strong>

0 commit comments

Comments
 (0)