Skip to content

Commit

Permalink
DescibePrice add ShardCount parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 5, 2024
1 parent 0695741 commit f762794
Show file tree
Hide file tree
Showing 49 changed files with 3,360 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-r-kvstore/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-05 Version: 2.20.20
- DescibePrice add ShardCount parameters.

2024-05-06 Version: 2.20.19
- Update OpenAPI DescribeBackups BackupId and BackupJobID from int32 to int64.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-r-kvstore/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-r-kvstore</artifactId>
<packaging>jar</packaging>
<version>2.20.19</version>
<version>2.20.20</version>
<name>aliyun-java-sdk-r-kvstore</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 @@ -56,7 +56,6 @@ public class Endpoint {
put("cn-shanghai-et2-b01", "r-kvstore.aliyuncs.com");
put("cn-guangzhou", "r-kvstore.aliyuncs.com");
put("cn-hangzhou-finance", "r-kvstore.aliyuncs.com");
put("ap-southeast-1", "r-kvstore.aliyuncs.com");
put("cn-beijing-nu16-b01", "r-kvstore.aliyuncs.com");
put("cn-edge-1", "r-kvstore.aliyuncs.com");
put("cn-fujian", "r-kvstore.aliyuncs.com");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class CreateAccountRequest extends RpcAcsRequest<CreateAccountResponse> {

private String securityToken;

private String sourceBiz;

private String resourceOwnerAccount;

private String ownerAccount;
Expand Down Expand Up @@ -121,6 +123,17 @@ public void setSecurityToken(String securityToken) {
}
}

public String getSourceBiz() {
return this.sourceBiz;
}

public void setSourceBiz(String sourceBiz) {
this.sourceBiz = sourceBiz;
if(sourceBiz != null){
putQueryParameter("SourceBiz", sourceBiz);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class CreateInstanceRequest extends RpcAcsRequest<CreateInstanceResponse>

private String secondaryZoneId;

private Integer slaveReadOnlyCount;

private String couponNo;

private String networkType;
Expand Down Expand Up @@ -98,6 +100,8 @@ public class CreateInstanceRequest extends RpcAcsRequest<CreateInstanceResponse>

private Boolean globalInstance;

private String recoverConfigMode;

private String token;

private String globalInstanceId;
Expand Down Expand Up @@ -153,6 +157,17 @@ public void setSecondaryZoneId(String secondaryZoneId) {
}
}

public Integer getSlaveReadOnlyCount() {
return this.slaveReadOnlyCount;
}

public void setSlaveReadOnlyCount(Integer slaveReadOnlyCount) {
this.slaveReadOnlyCount = slaveReadOnlyCount;
if(slaveReadOnlyCount != null){
putQueryParameter("SlaveReadOnlyCount", slaveReadOnlyCount.toString());
}
}

public String getCouponNo() {
return this.couponNo;
}
Expand Down Expand Up @@ -519,6 +534,17 @@ public void setGlobalInstance(Boolean globalInstance) {
}
}

public String getRecoverConfigMode() {
return this.recoverConfigMode;
}

public void setRecoverConfigMode(String recoverConfigMode) {
this.recoverConfigMode = recoverConfigMode;
if(recoverConfigMode != null){
putQueryParameter("RecoverConfigMode", recoverConfigMode);
}
}

public String getToken() {
return this.token;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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.r_kvstore.model.v20150101;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.r_kvstore.Endpoint;

/**
* @author auto create
* @version
*/
public class CreateParameterGroupRequest extends RpcAcsRequest<CreateParameterGroupResponse> {


private Long resourceOwnerId;

private String engineVersion;

private String securityToken;

private String engineType;

private String resourceOwnerAccount;

private String ownerAccount;

private Long ownerId;

private String category;

private String parameterGroupName;

private String parameters;

private String parameterGroupDesc;
public CreateParameterGroupRequest() {
super("R-kvstore", "2015-01-01", "CreateParameterGroup", "redisa");
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 getEngineVersion() {
return this.engineVersion;
}

public void setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
if(engineVersion != null){
putQueryParameter("EngineVersion", engineVersion);
}
}

public String getSecurityToken() {
return this.securityToken;
}

public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}

public String getEngineType() {
return this.engineType;
}

public void setEngineType(String engineType) {
this.engineType = engineType;
if(engineType != null){
putQueryParameter("EngineType", engineType);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

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 getCategory() {
return this.category;
}

public void setCategory(String category) {
this.category = category;
if(category != null){
putQueryParameter("Category", category);
}
}

public String getParameterGroupName() {
return this.parameterGroupName;
}

public void setParameterGroupName(String parameterGroupName) {
this.parameterGroupName = parameterGroupName;
if(parameterGroupName != null){
putQueryParameter("ParameterGroupName", parameterGroupName);
}
}

public String getParameters() {
return this.parameters;
}

public void setParameters(String parameters) {
this.parameters = parameters;
if(parameters != null){
putQueryParameter("Parameters", parameters);
}
}

public String getParameterGroupDesc() {
return this.parameterGroupDesc;
}

public void setParameterGroupDesc(String parameterGroupDesc) {
this.parameterGroupDesc = parameterGroupDesc;
if(parameterGroupDesc != null){
putQueryParameter("ParameterGroupDesc", parameterGroupDesc);
}
}

@Override
public Class<CreateParameterGroupResponse> getResponseClass() {
return CreateParameterGroupResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -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.r_kvstore.model.v20150101;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.r_kvstore.transform.v20150101.CreateParameterGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateParameterGroupResponse extends AcsResponse {

private String requestId;

private String paramGroupId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getParamGroupId() {
return this.paramGroupId;
}

public void setParamGroupId(String paramGroupId) {
this.paramGroupId = paramGroupId;
}

@Override
public CreateParameterGroupResponse getInstance(UnmarshallerContext context) {
return CreateParameterGroupResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public class CreateTairInstanceRequest extends RpcAcsRequest<CreateTairInstanceR

private String ownerAccount;

private String recoverConfigMode;

private String globalInstanceId;

private String paramGroupId;
Expand Down Expand Up @@ -504,6 +506,17 @@ public void setOwnerAccount(String ownerAccount) {
}
}

public String getRecoverConfigMode() {
return this.recoverConfigMode;
}

public void setRecoverConfigMode(String recoverConfigMode) {
this.recoverConfigMode = recoverConfigMode;
if(recoverConfigMode != null){
putQueryParameter("RecoverConfigMode", recoverConfigMode);
}
}

public String getGlobalInstanceId() {
return this.globalInstanceId;
}
Expand Down
Loading

0 comments on commit f762794

Please sign in to comment.