Skip to content

Commit

Permalink
Generated 2017-08-01 for polardb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jan 20, 2025
1 parent ec156ad commit 3acfcb0
Show file tree
Hide file tree
Showing 13 changed files with 330 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-polardb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-polardb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-polardb</artifactId>
<packaging>jar</packaging>
<version>1.8.50</version>
<version>1.8.51</version>
<name>aliyun-java-sdk-polardb</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public class CreateDBClusterRequest extends RpcAcsRequest<CreateDBClusterRespons

private String lowerCaseTableNames;

private Boolean storageEncryption;

private String scaleRoNumMax;

private String standbyAZ;
Expand All @@ -92,6 +94,8 @@ public class CreateDBClusterRequest extends RpcAcsRequest<CreateDBClusterRespons

private String clusterNetworkType;

private String storageEncryptionKey;

private String parameterGroupId;

private String gDNId;
Expand Down Expand Up @@ -455,6 +459,17 @@ public void setLowerCaseTableNames(String lowerCaseTableNames) {
}
}

public Boolean getStorageEncryption() {
return this.storageEncryption;
}

public void setStorageEncryption(Boolean storageEncryption) {
this.storageEncryption = storageEncryption;
if(storageEncryption != null){
putQueryParameter("StorageEncryption", storageEncryption.toString());
}
}

public String getScaleRoNumMax() {
return this.scaleRoNumMax;
}
Expand Down Expand Up @@ -510,6 +525,17 @@ public void setClusterNetworkType(String clusterNetworkType) {
}
}

public String getStorageEncryptionKey() {
return this.storageEncryptionKey;
}

public void setStorageEncryptionKey(String storageEncryptionKey) {
this.storageEncryptionKey = storageEncryptionKey;
if(storageEncryptionKey != null){
putQueryParameter("StorageEncryptionKey", storageEncryptionKey);
}
}

public String getParameterGroupId() {
return this.parameterGroupId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ public class DescribeDBClusterAttributeResponse extends AcsResponse {

private String burstingEnabled;

private String rowCompression;

private String imperceptibleSwitch;

private List<DBNode> dBNodes;

private List<Tag> tags;
Expand Down Expand Up @@ -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<DBNode> getDBNodes() {
return this.dBNodes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public class DescribeDBClusterTDEResponse extends AcsResponse {

private String tDEStatus;

private String encryptionKeyStatus;

public String getAutomaticRotation() {
return this.automaticRotation;
}
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public class DescribeDBClusterVersionResponse extends AcsResponse {

private String proxyLatestVersionAfterDBEngineUpgraded;

private String dBInnerRevisionVersion;

private List<DBRevisionVersionListItem> dBRevisionVersionList;

private List<ProxyRevisionVersionListItem> proxyRevisionVersionList;
Expand Down Expand Up @@ -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<DBRevisionVersionListItem> getDBRevisionVersionList() {
return this.dBRevisionVersionList;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
public class ModifyDBClusterRequest extends RpcAcsRequest<ModifyDBClusterResponse> {


private String modifyRowCompression;

private Long resourceOwnerId;

private String tableMeta;

private String standbyHAMode;

private String resourceOwnerAccount;
Expand Down Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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<ModifyDBClusterStoragePerformanceResponse> {


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<ModifyDBClusterStoragePerformanceResponse> getResponseClass() {
return ModifyDBClusterStoragePerformanceResponse.class;
}

}
Loading

0 comments on commit 3acfcb0

Please sign in to comment.