diff --git a/aliyun-java-sdk-polardb/ChangeLog.txt b/aliyun-java-sdk-polardb/ChangeLog.txt index 1bb7323f72..35ac1a2d6d 100644 --- a/aliyun-java-sdk-polardb/ChangeLog.txt +++ b/aliyun-java-sdk-polardb/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-01-20 Version: 1.8.51 +- Generated 2017-08-01 for `polardb`. + 2024-12-19 Version: 1.8.50 - Generated 2017-08-01 for `polardb`. diff --git a/aliyun-java-sdk-polardb/pom.xml b/aliyun-java-sdk-polardb/pom.xml index f060f7c042..0c3d6f9c05 100644 --- a/aliyun-java-sdk-polardb/pom.xml +++ b/aliyun-java-sdk-polardb/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-polardb jar - 1.8.50 + 1.8.51 aliyun-java-sdk-polardb http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java index 4dc262f3f7..5173c9b237 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java @@ -82,6 +82,8 @@ public class CreateDBClusterRequest extends RpcAcsRequest dBNodes; private List tags; @@ -711,6 +715,22 @@ public void setBurstingEnabled(String burstingEnabled) { this.burstingEnabled = burstingEnabled; } + public String getRowCompression() { + return this.rowCompression; + } + + public void setRowCompression(String rowCompression) { + this.rowCompression = rowCompression; + } + + public String getImperceptibleSwitch() { + return this.imperceptibleSwitch; + } + + public void setImperceptibleSwitch(String imperceptibleSwitch) { + this.imperceptibleSwitch = imperceptibleSwitch; + } + public List getDBNodes() { return this.dBNodes; } diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterTDEResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterTDEResponse.java index 03528c89f6..0ecf193623 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterTDEResponse.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterTDEResponse.java @@ -40,6 +40,8 @@ public class DescribeDBClusterTDEResponse extends AcsResponse { private String tDEStatus; + private String encryptionKeyStatus; + public String getAutomaticRotation() { return this.automaticRotation; } @@ -104,6 +106,14 @@ public void setTDEStatus(String tDEStatus) { this.tDEStatus = tDEStatus; } + public String getEncryptionKeyStatus() { + return this.encryptionKeyStatus; + } + + public void setEncryptionKeyStatus(String encryptionKeyStatus) { + this.encryptionKeyStatus = encryptionKeyStatus; + } + @Override public DescribeDBClusterTDEResponse getInstance(UnmarshallerContext context) { return DescribeDBClusterTDEResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterVersionResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterVersionResponse.java index 2326199de8..89481dc58a 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterVersionResponse.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterVersionResponse.java @@ -51,6 +51,8 @@ public class DescribeDBClusterVersionResponse extends AcsResponse { private String proxyLatestVersionAfterDBEngineUpgraded; + private String dBInnerRevisionVersion; + private List dBRevisionVersionList; private List proxyRevisionVersionList; @@ -159,6 +161,14 @@ public void setProxyLatestVersionAfterDBEngineUpgraded(String proxyLatestVersion this.proxyLatestVersionAfterDBEngineUpgraded = proxyLatestVersionAfterDBEngineUpgraded; } + public String getDBInnerRevisionVersion() { + return this.dBInnerRevisionVersion; + } + + public void setDBInnerRevisionVersion(String dBInnerRevisionVersion) { + this.dBInnerRevisionVersion = dBInnerRevisionVersion; + } + public List getDBRevisionVersionList() { return this.dBRevisionVersionList; } diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterRequest.java index 862b2c1573..2ebc97a2b5 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterRequest.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterRequest.java @@ -25,8 +25,12 @@ public class ModifyDBClusterRequest extends RpcAcsRequest { + private String modifyRowCompression; + private Long resourceOwnerId; + private String tableMeta; + private String standbyHAMode; private String resourceOwnerAccount; @@ -61,6 +65,17 @@ public ModifyDBClusterRequest() { } catch (Exception e) {} } + public String getModifyRowCompression() { + return this.modifyRowCompression; + } + + public void setModifyRowCompression(String modifyRowCompression) { + this.modifyRowCompression = modifyRowCompression; + if(modifyRowCompression != null){ + putQueryParameter("ModifyRowCompression", modifyRowCompression); + } + } + public Long getResourceOwnerId() { return this.resourceOwnerId; } @@ -72,6 +87,17 @@ public void setResourceOwnerId(Long resourceOwnerId) { } } + public String getTableMeta() { + return this.tableMeta; + } + + public void setTableMeta(String tableMeta) { + this.tableMeta = tableMeta; + if(tableMeta != null){ + putQueryParameter("TableMeta", tableMeta); + } + } + public String getStandbyHAMode() { return this.standbyHAMode; } diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceRequest.java new file mode 100644 index 0000000000..a3fdb2f13b --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceRequest.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.polardb.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterStoragePerformanceRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String clientToken; + + private String storageType; + + private String dBClusterId; + + private String burstingEnabled; + + private Integer provisionedIops; + + private String modifyType; + public ModifyDBClusterStoragePerformanceRequest() { + super("polardb", "2017-08-01", "ModifyDBClusterStoragePerformance", "polardb"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getClientToken() { + return this.clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + if(clientToken != null){ + putQueryParameter("ClientToken", clientToken); + } + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + if(storageType != null){ + putQueryParameter("StorageType", storageType); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getBurstingEnabled() { + return this.burstingEnabled; + } + + public void setBurstingEnabled(String burstingEnabled) { + this.burstingEnabled = burstingEnabled; + if(burstingEnabled != null){ + putQueryParameter("BurstingEnabled", burstingEnabled); + } + } + + public Integer getProvisionedIops() { + return this.provisionedIops; + } + + public void setProvisionedIops(Integer provisionedIops) { + this.provisionedIops = provisionedIops; + if(provisionedIops != null){ + putQueryParameter("ProvisionedIops", provisionedIops.toString()); + } + } + + public String getModifyType() { + return this.modifyType; + } + + public void setModifyType(String modifyType) { + this.modifyType = modifyType; + if(modifyType != null){ + putQueryParameter("ModifyType", modifyType); + } + } + + @Override + public Class getResponseClass() { + return ModifyDBClusterStoragePerformanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceResponse.java new file mode 100644 index 0000000000..ccac7c7990 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterStoragePerformanceResponse.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.polardb.transform.v20170801.ModifyDBClusterStoragePerformanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDBClusterStoragePerformanceResponse extends AcsResponse { + + private String dBClusterId; + + private String orderId; + + private String requestId; + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + public String getOrderId() { + return this.orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ModifyDBClusterStoragePerformanceResponse getInstance(UnmarshallerContext context) { + return ModifyDBClusterStoragePerformanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterAttributeResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterAttributeResponseUnmarshaller.java index a99db17fac..20994bfa75 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterAttributeResponseUnmarshaller.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterAttributeResponseUnmarshaller.java @@ -96,6 +96,8 @@ public static DescribeDBClusterAttributeResponse unmarshall(DescribeDBClusterAtt describeDBClusterAttributeResponse.setSourceRegionId(_ctx.stringValue("DescribeDBClusterAttributeResponse.SourceRegionId")); describeDBClusterAttributeResponse.setImciAutoIndex(_ctx.stringValue("DescribeDBClusterAttributeResponse.ImciAutoIndex")); describeDBClusterAttributeResponse.setBurstingEnabled(_ctx.stringValue("DescribeDBClusterAttributeResponse.BurstingEnabled")); + describeDBClusterAttributeResponse.setRowCompression(_ctx.stringValue("DescribeDBClusterAttributeResponse.RowCompression")); + describeDBClusterAttributeResponse.setImperceptibleSwitch(_ctx.stringValue("DescribeDBClusterAttributeResponse.ImperceptibleSwitch")); RelatedAPInstance relatedAPInstance = new RelatedAPInstance(); relatedAPInstance.setName(_ctx.stringValue("DescribeDBClusterAttributeResponse.RelatedAPInstance.Name")); diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterTDEResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterTDEResponseUnmarshaller.java index 26ac212434..3a5bfe4a7a 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterTDEResponseUnmarshaller.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterTDEResponseUnmarshaller.java @@ -29,7 +29,8 @@ public static DescribeDBClusterTDEResponse unmarshall(DescribeDBClusterTDERespon describeDBClusterTDEResponse.setEncryptionKey(_ctx.stringValue("DescribeDBClusterTDEResponse.EncryptionKey")); describeDBClusterTDEResponse.setRotationInterval(_ctx.stringValue("DescribeDBClusterTDEResponse.RotationInterval")); describeDBClusterTDEResponse.setTDERegion(_ctx.stringValue("DescribeDBClusterTDEResponse.TDERegion")); - describeDBClusterTDEResponse.setTDEStatus(_ctx.stringValue("DescribeDBClusterTDEResponse.TDEStatus")); + describeDBClusterTDEResponse.setTDEStatus(_ctx.stringValue("DescribeDBClusterTDEResponse.TDEStatus")); + describeDBClusterTDEResponse.setEncryptionKeyStatus(_ctx.stringValue("DescribeDBClusterTDEResponse.EncryptionKeyStatus")); return describeDBClusterTDEResponse; } diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterVersionResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterVersionResponseUnmarshaller.java index 43e90287ca..46be7d2e58 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterVersionResponseUnmarshaller.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterVersionResponseUnmarshaller.java @@ -40,6 +40,7 @@ public static DescribeDBClusterVersionResponse unmarshall(DescribeDBClusterVersi describeDBClusterVersionResponse.setProxyLatestVersion(_ctx.stringValue("DescribeDBClusterVersionResponse.ProxyLatestVersion")); describeDBClusterVersionResponse.setDBLatestVersion(_ctx.stringValue("DescribeDBClusterVersionResponse.DBLatestVersion")); describeDBClusterVersionResponse.setProxyLatestVersionAfterDBEngineUpgraded(_ctx.stringValue("DescribeDBClusterVersionResponse.ProxyLatestVersionAfterDBEngineUpgraded")); + describeDBClusterVersionResponse.setDBInnerRevisionVersion(_ctx.stringValue("DescribeDBClusterVersionResponse.DBInnerRevisionVersion")); List dBRevisionVersionList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeDBClusterVersionResponse.DBRevisionVersionList.Length"); i++) { diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ModifyDBClusterStoragePerformanceResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ModifyDBClusterStoragePerformanceResponseUnmarshaller.java new file mode 100644 index 0000000000..d019dd58a1 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ModifyDBClusterStoragePerformanceResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.transform.v20170801; + +import com.aliyuncs.polardb.model.v20170801.ModifyDBClusterStoragePerformanceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDBClusterStoragePerformanceResponseUnmarshaller { + + public static ModifyDBClusterStoragePerformanceResponse unmarshall(ModifyDBClusterStoragePerformanceResponse modifyDBClusterStoragePerformanceResponse, UnmarshallerContext _ctx) { + + modifyDBClusterStoragePerformanceResponse.setRequestId(_ctx.stringValue("ModifyDBClusterStoragePerformanceResponse.RequestId")); + modifyDBClusterStoragePerformanceResponse.setDBClusterId(_ctx.stringValue("ModifyDBClusterStoragePerformanceResponse.DBClusterId")); + modifyDBClusterStoragePerformanceResponse.setOrderId(_ctx.stringValue("ModifyDBClusterStoragePerformanceResponse.OrderId")); + + return modifyDBClusterStoragePerformanceResponse; + } +} \ No newline at end of file