All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.polardb20170801.models.CheckKMSAuthorizedResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link CheckKMSAuthorizedResponseBody} extends {@link TeaModel}
 *
 * 

CheckKMSAuthorizedResponseBody

*/ public class CheckKMSAuthorizedResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AuthorizationState") private Integer authorizationState; @com.aliyun.core.annotation.NameInMap("DBClusterId") private String DBClusterId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RoleArn") private String roleArn; private CheckKMSAuthorizedResponseBody(Builder builder) { this.authorizationState = builder.authorizationState; this.DBClusterId = builder.DBClusterId; this.requestId = builder.requestId; this.roleArn = builder.roleArn; } public static Builder builder() { return new Builder(); } public static CheckKMSAuthorizedResponseBody create() { return builder().build(); } /** * @return authorizationState */ public Integer getAuthorizationState() { return this.authorizationState; } /** * @return DBClusterId */ public String getDBClusterId() { return this.DBClusterId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return roleArn */ public String getRoleArn() { return this.roleArn; } public static final class Builder { private Integer authorizationState; private String DBClusterId; private String requestId; private String roleArn; /** *

Indicates whether the cluster is authorized to use KMS. Valid values:

*
    *
  • 0: no.
  • *
  • 1: yes.
  • *
* * example: *

0

*/ public Builder authorizationState(Integer authorizationState) { this.authorizationState = authorizationState; return this; } /** *

The cluster ID.

* * example: *

pc-************

*/ public Builder DBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } /** *

The request ID.

* * example: *

A7E6A8FD-C50B-46B2-BA85-D8B8D3******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The Alibaba Cloud Resource Name (ARN) of the RAM role. A RAM role is a virtual identity that you can create within your Alibaba Cloud account. For more information, see RAM role overview.

* * example: *

acs:ram::1406926*****:role/aliyunrdsinstanceencryptiondefaultrole

*/ public Builder roleArn(String roleArn) { this.roleArn = roleArn; return this; } public CheckKMSAuthorizedResponseBody build() { return new CheckKMSAuthorizedResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy