com.aliyun.r_kvstore20150101.models.DescribeParameterTemplatesRequest Maven / Gradle / Ivy
Show all versions of r_kvstore20150101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.r_kvstore20150101.models;
import com.aliyun.tea.*;
public class DescribeParameterTemplatesRequest extends TeaModel {
/**
* The architecture of the instance. For more information, see Overview. Valid values:
*
* - logic: The instance is a cluster master-replica instance or a read/write splitting instance.
* - normal: The instance is a standard master-replica instance.
*
* This parameter is required.
*
* example:
* logic
*/
@NameInMap("CharacterType")
public String characterType;
/**
* The database engine that is run on the instance. Set the value to Redis.
* This parameter is required.
*
* example:
* Redis
*/
@NameInMap("Engine")
public String engine;
/**
* The major version that is run on the instance. Valid values: 2.8, 4.0, and 5.0.
* This parameter is required.
*
* example:
* 5.0
*/
@NameInMap("EngineVersion")
public String engineVersion;
/**
* The ID of the instance. You can call the DescribeInstances operation to query the IDs of instances.
*
* example:
* r-bp1zxszhcgatnx****
*/
@NameInMap("InstanceId")
public String instanceId;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The ID of the resource group to which the instance belongs. You can call the ListResourceGroups operation to query the IDs of resource groups.
*
* You can also query the ID of a resource group in the Resource Management console. For more information, see View the basic information of a resource group.
*
*
* example:
* rg-acfmyiu4ekp****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
@NameInMap("SecurityToken")
public String securityToken;
public static DescribeParameterTemplatesRequest build(java.util.Map map) throws Exception {
DescribeParameterTemplatesRequest self = new DescribeParameterTemplatesRequest();
return TeaModel.build(map, self);
}
public DescribeParameterTemplatesRequest setCharacterType(String characterType) {
this.characterType = characterType;
return this;
}
public String getCharacterType() {
return this.characterType;
}
public DescribeParameterTemplatesRequest setEngine(String engine) {
this.engine = engine;
return this;
}
public String getEngine() {
return this.engine;
}
public DescribeParameterTemplatesRequest setEngineVersion(String engineVersion) {
this.engineVersion = engineVersion;
return this;
}
public String getEngineVersion() {
return this.engineVersion;
}
public DescribeParameterTemplatesRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeParameterTemplatesRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DescribeParameterTemplatesRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public DescribeParameterTemplatesRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public DescribeParameterTemplatesRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DescribeParameterTemplatesRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public DescribeParameterTemplatesRequest setSecurityToken(String securityToken) {
this.securityToken = securityToken;
return this;
}
public String getSecurityToken() {
return this.securityToken;
}
}