From 02e5f091e2ff50884cf488bfa9c7eb753c6240ec Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 30 Oct 2023 11:18:56 +0000 Subject: [PATCH] Support new feature. --- aliyun-java-sdk-polardb/ChangeLog.txt | 3 + aliyun-java-sdk-polardb/pom.xml | 2 +- .../CreateColdStorageInstanceRequest.java | 145 ++++++++++++++ .../CreateColdStorageInstanceResponse.java | 51 +++++ .../DescribeDBClusterAttributeResponse.java | 40 ++++ .../v20170801/DescribeMetaListRequest.java | 13 ++ .../DisableDBClusterServerlessRequest.java | 106 ++++++++++ .../DisableDBClusterServerlessResponse.java | 56 ++++++ .../EnableDBClusterServerlessRequest.java | 184 ++++++++++++++++++ .../EnableDBClusterServerlessResponse.java | 56 ++++++ .../ModifyDBClusterServerlessConfRequest.java | 67 ++++++- ...ldStorageInstanceResponseUnmarshaller.java | 30 +++ ...BClusterAttributeResponseUnmarshaller.java | 4 + ...ClusterServerlessResponseUnmarshaller.java | 30 +++ ...ClusterServerlessResponseUnmarshaller.java | 30 +++ 15 files changed, 815 insertions(+), 2 deletions(-) create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceRequest.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceResponse.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DisableDBClusterServerlessRequest.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DisableDBClusterServerlessResponse.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessRequest.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessResponse.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/CreateColdStorageInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DisableDBClusterServerlessResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/EnableDBClusterServerlessResponseUnmarshaller.java diff --git a/aliyun-java-sdk-polardb/ChangeLog.txt b/aliyun-java-sdk-polardb/ChangeLog.txt index eb6a6d508f..edb35c660f 100644 --- a/aliyun-java-sdk-polardb/ChangeLog.txt +++ b/aliyun-java-sdk-polardb/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-10-30 Version: 1.8.42 +- Support new feature. + 2023-09-14 Version: 1.8.41 - Support new feature. diff --git a/aliyun-java-sdk-polardb/pom.xml b/aliyun-java-sdk-polardb/pom.xml index c120cf1066..a5b8c71903 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.41 + 1.8.42 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/CreateColdStorageInstanceRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceRequest.java new file mode 100644 index 0000000000..64ccd1708b --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceRequest.java @@ -0,0 +1,145 @@ +/* + * 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 CreateColdStorageInstanceRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String clientToken; + + private String resourceGroupId; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private String coldStorageInstanceDescription; + + private Long ownerId; + public CreateColdStorageInstanceRequest() { + super("polardb", "2017-08-01", "CreateColdStorageInstance", "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 getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getColdStorageInstanceDescription() { + return this.coldStorageInstanceDescription; + } + + public void setColdStorageInstanceDescription(String coldStorageInstanceDescription) { + this.coldStorageInstanceDescription = coldStorageInstanceDescription; + if(coldStorageInstanceDescription != null){ + putQueryParameter("ColdStorageInstanceDescription", coldStorageInstanceDescription); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return CreateColdStorageInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceResponse.java new file mode 100644 index 0000000000..e40d271629 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateColdStorageInstanceResponse.java @@ -0,0 +1,51 @@ +/* + * 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.CreateColdStorageInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateColdStorageInstanceResponse extends AcsResponse { + + private String requestId; + + private String coldStorageInstanceId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getColdStorageInstanceId() { + return this.coldStorageInstanceId; + } + + public void setColdStorageInstanceId(String coldStorageInstanceId) { + this.coldStorageInstanceId = coldStorageInstanceId; + } + + @Override + public CreateColdStorageInstanceResponse getInstance(UnmarshallerContext context) { + return CreateColdStorageInstanceResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterAttributeResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterAttributeResponse.java index 4f8c2a2f62..a2d67c193e 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterAttributeResponse.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterAttributeResponse.java @@ -43,6 +43,8 @@ public class DescribeDBClusterAttributeResponse extends AcsResponse { private Boolean hasCompleteStandbyRes; + private String hotStandbyClusterStatus; + private String hotStandbyCluster; private String dataSyncMode; @@ -131,6 +133,8 @@ public class DescribeDBClusterAttributeResponse extends AcsResponse { private String aiType; + private String provisionedIops; + private List dBNodes; private List tags; @@ -209,6 +213,14 @@ public void setHasCompleteStandbyRes(Boolean hasCompleteStandbyRes) { this.hasCompleteStandbyRes = hasCompleteStandbyRes; } + public String getHotStandbyClusterStatus() { + return this.hotStandbyClusterStatus; + } + + public void setHotStandbyClusterStatus(String hotStandbyClusterStatus) { + this.hotStandbyClusterStatus = hotStandbyClusterStatus; + } + public String getHotStandbyCluster() { return this.hotStandbyCluster; } @@ -561,6 +573,14 @@ public void setAiType(String aiType) { this.aiType = aiType; } + public String getProvisionedIops() { + return this.provisionedIops; + } + + public void setProvisionedIops(String provisionedIops) { + this.provisionedIops = provisionedIops; + } + public List getDBNodes() { return this.dBNodes; } @@ -595,6 +615,10 @@ public static class DBNode { private String dBNodeClass; + private String cpuCores; + + private String memorySize; + private String dBNodeRole; private String zoneId; @@ -651,6 +675,22 @@ public void setDBNodeClass(String dBNodeClass) { this.dBNodeClass = dBNodeClass; } + public String getCpuCores() { + return this.cpuCores; + } + + public void setCpuCores(String cpuCores) { + this.cpuCores = cpuCores; + } + + public String getMemorySize() { + return this.memorySize; + } + + public void setMemorySize(String memorySize) { + this.memorySize = memorySize; + } + public String getDBNodeRole() { return this.dBNodeRole; } diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeMetaListRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeMetaListRequest.java index 1a437eca63..d8521dbe2b 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeMetaListRequest.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeMetaListRequest.java @@ -27,6 +27,8 @@ public class DescribeMetaListRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + public DisableDBClusterServerlessRequest() { + super("polardb", "2017-08-01", "DisableDBClusterServerless", "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 getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DisableDBClusterServerlessResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DisableDBClusterServerlessResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DisableDBClusterServerlessResponse.java new file mode 100644 index 0000000000..7adfcc019c --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DisableDBClusterServerlessResponse.java @@ -0,0 +1,56 @@ +/* + * 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.DisableDBClusterServerlessResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DisableDBClusterServerlessResponse extends AcsResponse { + + private String requestId; + + private String dBClusterId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + @Override + public DisableDBClusterServerlessResponse getInstance(UnmarshallerContext context) { + return DisableDBClusterServerlessResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessRequest.java new file mode 100644 index 0000000000..7ae474181c --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessRequest.java @@ -0,0 +1,184 @@ +/* + * 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 EnableDBClusterServerlessRequest extends RpcAcsRequest { + + + private String scaleRoNumMax; + + private Long resourceOwnerId; + + private String scaleApRoNumMax; + + private String scaleMax; + + private String scaleApRoNumMin; + + private String scaleMin; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + + private String scaleRoNumMin; + public EnableDBClusterServerlessRequest() { + super("polardb", "2017-08-01", "EnableDBClusterServerless", "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 String getScaleRoNumMax() { + return this.scaleRoNumMax; + } + + public void setScaleRoNumMax(String scaleRoNumMax) { + this.scaleRoNumMax = scaleRoNumMax; + if(scaleRoNumMax != null){ + putQueryParameter("ScaleRoNumMax", scaleRoNumMax); + } + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getScaleApRoNumMax() { + return this.scaleApRoNumMax; + } + + public void setScaleApRoNumMax(String scaleApRoNumMax) { + this.scaleApRoNumMax = scaleApRoNumMax; + if(scaleApRoNumMax != null){ + putQueryParameter("ScaleApRoNumMax", scaleApRoNumMax); + } + } + + public String getScaleMax() { + return this.scaleMax; + } + + public void setScaleMax(String scaleMax) { + this.scaleMax = scaleMax; + if(scaleMax != null){ + putQueryParameter("ScaleMax", scaleMax); + } + } + + public String getScaleApRoNumMin() { + return this.scaleApRoNumMin; + } + + public void setScaleApRoNumMin(String scaleApRoNumMin) { + this.scaleApRoNumMin = scaleApRoNumMin; + if(scaleApRoNumMin != null){ + putQueryParameter("ScaleApRoNumMin", scaleApRoNumMin); + } + } + + public String getScaleMin() { + return this.scaleMin; + } + + public void setScaleMin(String scaleMin) { + this.scaleMin = scaleMin; + if(scaleMin != null){ + putQueryParameter("ScaleMin", scaleMin); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getScaleRoNumMin() { + return this.scaleRoNumMin; + } + + public void setScaleRoNumMin(String scaleRoNumMin) { + this.scaleRoNumMin = scaleRoNumMin; + if(scaleRoNumMin != null){ + putQueryParameter("ScaleRoNumMin", scaleRoNumMin); + } + } + + @Override + public Class getResponseClass() { + return EnableDBClusterServerlessResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessResponse.java new file mode 100644 index 0000000000..02b42513fa --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/EnableDBClusterServerlessResponse.java @@ -0,0 +1,56 @@ +/* + * 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.EnableDBClusterServerlessResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class EnableDBClusterServerlessResponse extends AcsResponse { + + private String requestId; + + private String dBClusterId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + @Override + public EnableDBClusterServerlessResponse getInstance(UnmarshallerContext context) { + return EnableDBClusterServerlessResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterServerlessConfRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterServerlessConfRequest.java index 992e036dec..9362e4c6a7 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterServerlessConfRequest.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ModifyDBClusterServerlessConfRequest.java @@ -29,10 +29,16 @@ public class ModifyDBClusterServerlessConfRequest extends RpcAcsRequest