com.aliyun.rds20140815.models.DescribeKmsAssociateResourcesRequest Maven / Gradle / Ivy
Show all versions of rds20140815 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeKmsAssociateResourcesRequest extends TeaModel {
/**
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.
* The token can contain only ASCII characters and cannot exceed 64 characters in length.
*
* example:
* ETnLKlblzczshOTUbOCz****
*/
@NameInMap("ClientToken")
public String clientToken;
/**
* The ID of the KMS resource. Only key IDs are supported.
* This parameter is required.
*
* example:
* 494c98ce-f2b5-48ab-96ab-36c986b6****
*/
@NameInMap("KmsResourceId")
public String kmsResourceId;
/**
* The ID of the region to which the KMS resource belongs.
*
* example:
* cn-hangzhou
*/
@NameInMap("KmsResourceRegionId")
public String kmsResourceRegionId;
/**
* The type of the KMS resource. Only key is supported.
* This parameter is required.
*
* example:
* key
*/
@NameInMap("KmsResourceType")
public String kmsResourceType;
/**
* The ID of the Alibaba Cloud account to which the KMS resource belongs.
* This parameter is required.
*
* example:
* 164882191396****
*/
@NameInMap("KmsResourceUser")
public String kmsResourceUser;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public String ownerId;
/**
* The region ID. You can call the DescribeRegions operation to query the most recent region list.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The resource group ID.
*
* example:
* rg-bp67acfmxazb4p****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static DescribeKmsAssociateResourcesRequest build(java.util.Map map) throws Exception {
DescribeKmsAssociateResourcesRequest self = new DescribeKmsAssociateResourcesRequest();
return TeaModel.build(map, self);
}
public DescribeKmsAssociateResourcesRequest setClientToken(String clientToken) {
this.clientToken = clientToken;
return this;
}
public String getClientToken() {
return this.clientToken;
}
public DescribeKmsAssociateResourcesRequest setKmsResourceId(String kmsResourceId) {
this.kmsResourceId = kmsResourceId;
return this;
}
public String getKmsResourceId() {
return this.kmsResourceId;
}
public DescribeKmsAssociateResourcesRequest setKmsResourceRegionId(String kmsResourceRegionId) {
this.kmsResourceRegionId = kmsResourceRegionId;
return this;
}
public String getKmsResourceRegionId() {
return this.kmsResourceRegionId;
}
public DescribeKmsAssociateResourcesRequest setKmsResourceType(String kmsResourceType) {
this.kmsResourceType = kmsResourceType;
return this;
}
public String getKmsResourceType() {
return this.kmsResourceType;
}
public DescribeKmsAssociateResourcesRequest setKmsResourceUser(String kmsResourceUser) {
this.kmsResourceUser = kmsResourceUser;
return this;
}
public String getKmsResourceUser() {
return this.kmsResourceUser;
}
public DescribeKmsAssociateResourcesRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DescribeKmsAssociateResourcesRequest setOwnerId(String ownerId) {
this.ownerId = ownerId;
return this;
}
public String getOwnerId() {
return this.ownerId;
}
public DescribeKmsAssociateResourcesRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeKmsAssociateResourcesRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public DescribeKmsAssociateResourcesRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DescribeKmsAssociateResourcesRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}