Skip to content

Commit 48d2e40

Browse files
committed
Generated java-async 2017-08-01 for polardb.
1 parent 8102489 commit 48d2e40

File tree

6 files changed

+92
-1
lines changed

6 files changed

+92
-1
lines changed

polardb-20170801/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-12-11 Version: 5.0.14
2+
- Generated java-async 2017-08-01 for polardb.
3+
14
2025-12-10 Version: 5.0.13
25
- Generated java-async 2017-08-01 for polardb.
36

polardb-20170801/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-polardb20170801</artifactId>
6-
<version>5.0.13</version>
6+
<version>5.0.14</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-polardb20170801</name>
99
<description>Alibaba Cloud polardb (20170801) Async SDK for Java

polardb-20170801/src/main/java/com/aliyun/sdk/service/polardb20170801/models/DeleteDBClusterRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public class DeleteDBClusterRequest extends Request {
2121
@com.aliyun.core.annotation.NameInMap("BackupRetentionPolicyOnClusterDeletion")
2222
private String backupRetentionPolicyOnClusterDeletion;
2323

24+
@com.aliyun.core.annotation.Query
25+
@com.aliyun.core.annotation.NameInMap("CloudProvider")
26+
private String cloudProvider;
27+
2428
@com.aliyun.core.annotation.Query
2529
@com.aliyun.core.annotation.NameInMap("DBClusterId")
2630
@com.aliyun.core.annotation.Validation(required = true)
@@ -45,6 +49,7 @@ public class DeleteDBClusterRequest extends Request {
4549
private DeleteDBClusterRequest(Builder builder) {
4650
super(builder);
4751
this.backupRetentionPolicyOnClusterDeletion = builder.backupRetentionPolicyOnClusterDeletion;
52+
this.cloudProvider = builder.cloudProvider;
4853
this.DBClusterId = builder.DBClusterId;
4954
this.ownerAccount = builder.ownerAccount;
5055
this.ownerId = builder.ownerId;
@@ -72,6 +77,13 @@ public String getBackupRetentionPolicyOnClusterDeletion() {
7277
return this.backupRetentionPolicyOnClusterDeletion;
7378
}
7479

80+
/**
81+
* @return cloudProvider
82+
*/
83+
public String getCloudProvider() {
84+
return this.cloudProvider;
85+
}
86+
7587
/**
7688
* @return DBClusterId
7789
*/
@@ -109,6 +121,7 @@ public Long getResourceOwnerId() {
109121

110122
public static final class Builder extends Request.Builder<DeleteDBClusterRequest, Builder> {
111123
private String backupRetentionPolicyOnClusterDeletion;
124+
private String cloudProvider;
112125
private String DBClusterId;
113126
private String ownerAccount;
114127
private Long ownerId;
@@ -122,6 +135,7 @@ private Builder() {
122135
private Builder(DeleteDBClusterRequest request) {
123136
super(request);
124137
this.backupRetentionPolicyOnClusterDeletion = request.backupRetentionPolicyOnClusterDeletion;
138+
this.cloudProvider = request.cloudProvider;
125139
this.DBClusterId = request.DBClusterId;
126140
this.ownerAccount = request.ownerAccount;
127141
this.ownerId = request.ownerId;
@@ -146,6 +160,15 @@ public Builder backupRetentionPolicyOnClusterDeletion(String backupRetentionPoli
146160
return this;
147161
}
148162

163+
/**
164+
* CloudProvider.
165+
*/
166+
public Builder cloudProvider(String cloudProvider) {
167+
this.putQueryParameter("CloudProvider", cloudProvider);
168+
this.cloudProvider = cloudProvider;
169+
return this;
170+
}
171+
149172
/**
150173
* <p>The cluster ID.</p>
151174
* <p>This parameter is required.</p>

polardb-20170801/src/main/java/com/aliyun/sdk/service/polardb20170801/models/DescribeAIDBClusterAttributeResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ public class DescribeAIDBClusterAttributeResponseBody extends TeaModel {
6868
@com.aliyun.core.annotation.NameInMap("ModelName")
6969
private String modelName;
7070

71+
@com.aliyun.core.annotation.NameInMap("ModelType")
72+
private String modelType;
73+
7174
@com.aliyun.core.annotation.NameInMap("PayType")
7275
private String payType;
7376

@@ -119,6 +122,7 @@ private DescribeAIDBClusterAttributeResponseBody(Builder builder) {
119122
this.lockMode = builder.lockMode;
120123
this.maxQPM = builder.maxQPM;
121124
this.modelName = builder.modelName;
125+
this.modelType = builder.modelType;
122126
this.payType = builder.payType;
123127
this.publicIp = builder.publicIp;
124128
this.regionId = builder.regionId;
@@ -263,6 +267,13 @@ public String getModelName() {
263267
return this.modelName;
264268
}
265269

270+
/**
271+
* @return modelType
272+
*/
273+
public String getModelType() {
274+
return this.modelType;
275+
}
276+
266277
/**
267278
* @return payType
268279
*/
@@ -358,6 +369,7 @@ public static final class Builder {
358369
private String lockMode;
359370
private String maxQPM;
360371
private String modelName;
372+
private String modelType;
361373
private String payType;
362374
private String publicIp;
363375
private String regionId;
@@ -391,6 +403,7 @@ private Builder(DescribeAIDBClusterAttributeResponseBody model) {
391403
this.lockMode = model.lockMode;
392404
this.maxQPM = model.maxQPM;
393405
this.modelName = model.modelName;
406+
this.modelType = model.modelType;
394407
this.payType = model.payType;
395408
this.publicIp = model.publicIp;
396409
this.regionId = model.regionId;
@@ -540,6 +553,14 @@ public Builder modelName(String modelName) {
540553
return this;
541554
}
542555

556+
/**
557+
* ModelType.
558+
*/
559+
public Builder modelType(String modelType) {
560+
this.modelType = modelType;
561+
return this;
562+
}
563+
543564
/**
544565
* PayType.
545566
*/

polardb-20170801/src/main/java/com/aliyun/sdk/service/polardb20170801/models/DescribeAIDBClustersResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ public static class DBCluster extends TeaModel {
323323
@com.aliyun.core.annotation.NameInMap("LockMode")
324324
private String lockMode;
325325

326+
@com.aliyun.core.annotation.NameInMap("ModelType")
327+
private String modelType;
328+
326329
@com.aliyun.core.annotation.NameInMap("PayType")
327330
private String payType;
328331

@@ -365,6 +368,7 @@ private DBCluster(Builder builder) {
365368
this.expired = builder.expired;
366369
this.kubeClusterId = builder.kubeClusterId;
367370
this.lockMode = builder.lockMode;
371+
this.modelType = builder.modelType;
368372
this.payType = builder.payType;
369373
this.regionId = builder.regionId;
370374
this.relativeDBClusterId = builder.relativeDBClusterId;
@@ -462,6 +466,13 @@ public String getLockMode() {
462466
return this.lockMode;
463467
}
464468

469+
/**
470+
* @return modelType
471+
*/
472+
public String getModelType() {
473+
return this.modelType;
474+
}
475+
465476
/**
466477
* @return payType
467478
*/
@@ -544,6 +555,7 @@ public static final class Builder {
544555
private Boolean expired;
545556
private String kubeClusterId;
546557
private String lockMode;
558+
private String modelType;
547559
private String payType;
548560
private String regionId;
549561
private String relativeDBClusterId;
@@ -570,6 +582,7 @@ private Builder(DBCluster model) {
570582
this.expired = model.expired;
571583
this.kubeClusterId = model.kubeClusterId;
572584
this.lockMode = model.lockMode;
585+
this.modelType = model.modelType;
573586
this.payType = model.payType;
574587
this.regionId = model.regionId;
575588
this.relativeDBClusterId = model.relativeDBClusterId;
@@ -670,6 +683,14 @@ public Builder lockMode(String lockMode) {
670683
return this;
671684
}
672685

686+
/**
687+
* ModelType.
688+
*/
689+
public Builder modelType(String modelType) {
690+
this.modelType = modelType;
691+
return this;
692+
}
693+
673694
/**
674695
* PayType.
675696
*/

polardb-20170801/src/main/java/com/aliyun/sdk/service/polardb20170801/models/RemoveDBClusterFromGDNRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ public class RemoveDBClusterFromGDNRequest extends Request {
5555
@com.aliyun.core.annotation.NameInMap("SecurityToken")
5656
private String securityToken;
5757

58+
@com.aliyun.core.annotation.Query
59+
@com.aliyun.core.annotation.NameInMap("TargetDBClusterId")
60+
private String targetDBClusterId;
61+
5862
private RemoveDBClusterFromGDNRequest(Builder builder) {
5963
super(builder);
6064
this.regionId = builder.regionId;
@@ -66,6 +70,7 @@ private RemoveDBClusterFromGDNRequest(Builder builder) {
6670
this.resourceOwnerAccount = builder.resourceOwnerAccount;
6771
this.resourceOwnerId = builder.resourceOwnerId;
6872
this.securityToken = builder.securityToken;
73+
this.targetDBClusterId = builder.targetDBClusterId;
6974
}
7075

7176
public static Builder builder() {
@@ -144,6 +149,13 @@ public String getSecurityToken() {
144149
return this.securityToken;
145150
}
146151

152+
/**
153+
* @return targetDBClusterId
154+
*/
155+
public String getTargetDBClusterId() {
156+
return this.targetDBClusterId;
157+
}
158+
147159
public static final class Builder extends Request.Builder<RemoveDBClusterFromGDNRequest, Builder> {
148160
private String regionId;
149161
private String DBClusterId;
@@ -154,6 +166,7 @@ public static final class Builder extends Request.Builder<RemoveDBClusterFromGDN
154166
private String resourceOwnerAccount;
155167
private Long resourceOwnerId;
156168
private String securityToken;
169+
private String targetDBClusterId;
157170

158171
private Builder() {
159172
super();
@@ -170,6 +183,7 @@ private Builder(RemoveDBClusterFromGDNRequest request) {
170183
this.resourceOwnerAccount = request.resourceOwnerAccount;
171184
this.resourceOwnerId = request.resourceOwnerId;
172185
this.securityToken = request.securityToken;
186+
this.targetDBClusterId = request.targetDBClusterId;
173187
}
174188

175189
/**
@@ -264,6 +278,15 @@ public Builder securityToken(String securityToken) {
264278
return this;
265279
}
266280

281+
/**
282+
* TargetDBClusterId.
283+
*/
284+
public Builder targetDBClusterId(String targetDBClusterId) {
285+
this.putQueryParameter("TargetDBClusterId", targetDBClusterId);
286+
this.targetDBClusterId = targetDBClusterId;
287+
return this;
288+
}
289+
267290
@Override
268291
public RemoveDBClusterFromGDNRequest build() {
269292
return new RemoveDBClusterFromGDNRequest(this);

0 commit comments

Comments
 (0)