com.aliyun.sdk.service.polardb20170801.models.DescribeMaskingRulesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
The newest version!
// 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 DescribeMaskingRulesResponseBody} extends {@link TeaModel}
*
* DescribeMaskingRulesResponseBody
*/
public class DescribeMaskingRulesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBClusterId")
private String DBClusterId;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DescribeMaskingRulesResponseBody(Builder builder) {
this.DBClusterId = builder.DBClusterId;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeMaskingRulesResponseBody create() {
return builder().build();
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String DBClusterId;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* The ID of the cluster.
*
* example:
* pc-bp1s826a1up******
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* The result data that is returned.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The message that is returned for the request.
*
* If the request is successful, Successful is returned. If the request fails, an error message such as an error code is returned.
*
*
* example:
* Successful
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The ID of the request.
*
* example:
* 2F83D131-1C18-4599-889D-729A9D******
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Indicates whether the request is successful. Valid value:
*
* - true
* - false
*
*
* example:
* true
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeMaskingRulesResponseBody build() {
return new DescribeMaskingRulesResponseBody(this);
}
}
/**
*
* {@link DescribeMaskingRulesResponseBody} extends {@link TeaModel}
*
* DescribeMaskingRulesResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RuleList")
private java.util.List ruleList;
@com.aliyun.core.annotation.NameInMap("RuleVersion")
private String ruleVersion;
private Data(Builder builder) {
this.ruleList = builder.ruleList;
this.ruleVersion = builder.ruleVersion;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return ruleList
*/
public java.util.List getRuleList() {
return this.ruleList;
}
/**
* @return ruleVersion
*/
public String getRuleVersion() {
return this.ruleVersion;
}
public static final class Builder {
private java.util.List ruleList;
private String ruleVersion;
/**
* Details about the masking rules.
*/
public Builder ruleList(java.util.List ruleList) {
this.ruleList = ruleList;
return this;
}
/**
* The version of the masking rule. Valid values: v1 and v2. Default value: v1
*
* example:
* v1
*/
public Builder ruleVersion(String ruleVersion) {
this.ruleVersion = ruleVersion;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy