com.aliyun.sdk.service.polardb20170801.models.DescribeDBClusterServerlessConfResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-polardb20170801 Show documentation
// 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 DescribeDBClusterServerlessConfResponseBody} extends {@link TeaModel}
*
* DescribeDBClusterServerlessConfResponseBody
*/
public class DescribeDBClusterServerlessConfResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AgileScaleMax")
private String agileScaleMax;
@com.aliyun.core.annotation.NameInMap("AllowShutDown")
private String allowShutDown;
@com.aliyun.core.annotation.NameInMap("DBClusterId")
private String DBClusterId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("ScaleApRoNumMax")
private String scaleApRoNumMax;
@com.aliyun.core.annotation.NameInMap("ScaleApRoNumMin")
private String scaleApRoNumMin;
@com.aliyun.core.annotation.NameInMap("ScaleMax")
private String scaleMax;
@com.aliyun.core.annotation.NameInMap("ScaleMin")
private String scaleMin;
@com.aliyun.core.annotation.NameInMap("ScaleRoNumMax")
private String scaleRoNumMax;
@com.aliyun.core.annotation.NameInMap("ScaleRoNumMin")
private String scaleRoNumMin;
@com.aliyun.core.annotation.NameInMap("SecondsUntilAutoPause")
private String secondsUntilAutoPause;
@com.aliyun.core.annotation.NameInMap("ServerlessRuleCpuEnlargeThreshold")
private String serverlessRuleCpuEnlargeThreshold;
@com.aliyun.core.annotation.NameInMap("ServerlessRuleCpuShrinkThreshold")
private String serverlessRuleCpuShrinkThreshold;
@com.aliyun.core.annotation.NameInMap("ServerlessRuleMode")
private String serverlessRuleMode;
@com.aliyun.core.annotation.NameInMap("Switchs")
private String switchs;
@com.aliyun.core.annotation.NameInMap("TraditionalScaleMaxThreshold")
private String traditionalScaleMaxThreshold;
private DescribeDBClusterServerlessConfResponseBody(Builder builder) {
this.agileScaleMax = builder.agileScaleMax;
this.allowShutDown = builder.allowShutDown;
this.DBClusterId = builder.DBClusterId;
this.requestId = builder.requestId;
this.scaleApRoNumMax = builder.scaleApRoNumMax;
this.scaleApRoNumMin = builder.scaleApRoNumMin;
this.scaleMax = builder.scaleMax;
this.scaleMin = builder.scaleMin;
this.scaleRoNumMax = builder.scaleRoNumMax;
this.scaleRoNumMin = builder.scaleRoNumMin;
this.secondsUntilAutoPause = builder.secondsUntilAutoPause;
this.serverlessRuleCpuEnlargeThreshold = builder.serverlessRuleCpuEnlargeThreshold;
this.serverlessRuleCpuShrinkThreshold = builder.serverlessRuleCpuShrinkThreshold;
this.serverlessRuleMode = builder.serverlessRuleMode;
this.switchs = builder.switchs;
this.traditionalScaleMaxThreshold = builder.traditionalScaleMaxThreshold;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDBClusterServerlessConfResponseBody create() {
return builder().build();
}
/**
* @return agileScaleMax
*/
public String getAgileScaleMax() {
return this.agileScaleMax;
}
/**
* @return allowShutDown
*/
public String getAllowShutDown() {
return this.allowShutDown;
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return scaleApRoNumMax
*/
public String getScaleApRoNumMax() {
return this.scaleApRoNumMax;
}
/**
* @return scaleApRoNumMin
*/
public String getScaleApRoNumMin() {
return this.scaleApRoNumMin;
}
/**
* @return scaleMax
*/
public String getScaleMax() {
return this.scaleMax;
}
/**
* @return scaleMin
*/
public String getScaleMin() {
return this.scaleMin;
}
/**
* @return scaleRoNumMax
*/
public String getScaleRoNumMax() {
return this.scaleRoNumMax;
}
/**
* @return scaleRoNumMin
*/
public String getScaleRoNumMin() {
return this.scaleRoNumMin;
}
/**
* @return secondsUntilAutoPause
*/
public String getSecondsUntilAutoPause() {
return this.secondsUntilAutoPause;
}
/**
* @return serverlessRuleCpuEnlargeThreshold
*/
public String getServerlessRuleCpuEnlargeThreshold() {
return this.serverlessRuleCpuEnlargeThreshold;
}
/**
* @return serverlessRuleCpuShrinkThreshold
*/
public String getServerlessRuleCpuShrinkThreshold() {
return this.serverlessRuleCpuShrinkThreshold;
}
/**
* @return serverlessRuleMode
*/
public String getServerlessRuleMode() {
return this.serverlessRuleMode;
}
/**
* @return switchs
*/
public String getSwitchs() {
return this.switchs;
}
/**
* @return traditionalScaleMaxThreshold
*/
public String getTraditionalScaleMaxThreshold() {
return this.traditionalScaleMaxThreshold;
}
public static final class Builder {
private String agileScaleMax;
private String allowShutDown;
private String DBClusterId;
private String requestId;
private String scaleApRoNumMax;
private String scaleApRoNumMin;
private String scaleMax;
private String scaleMin;
private String scaleRoNumMax;
private String scaleRoNumMin;
private String secondsUntilAutoPause;
private String serverlessRuleCpuEnlargeThreshold;
private String serverlessRuleCpuShrinkThreshold;
private String serverlessRuleMode;
private String switchs;
private String traditionalScaleMaxThreshold;
/**
* AgileScaleMax.
*/
public Builder agileScaleMax(String agileScaleMax) {
this.agileScaleMax = agileScaleMax;
return this;
}
/**
* Whether to enable idle shutdown. Values:
*
* true: Enable
*
* false: Disable (default)
*
*
*
* example:
* true
*/
public Builder allowShutDown(String allowShutDown) {
this.allowShutDown = allowShutDown;
return this;
}
/**
* Serverless cluster ID.
*
* example:
* pc-bp10gr51qasnl****
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* Request ID.
*
* example:
* 5E71541A-6007-4DCC-A38A-F872C31FEB45
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Maximum limit for the number of read-only column storage nodes. Range: 0~7.
*
* example:
* 1
*/
public Builder scaleApRoNumMax(String scaleApRoNumMax) {
this.scaleApRoNumMax = scaleApRoNumMax;
return this;
}
/**
* Minimum limit for the number of read-only column storage nodes. Range: 0~7.
*
* example:
* 1
*/
public Builder scaleApRoNumMin(String scaleApRoNumMin) {
this.scaleApRoNumMin = scaleApRoNumMin;
return this;
}
/**
* Maximum scaling limit for a single node. Range: 1 PCU~32 PCU.
*
* example:
* 3
*/
public Builder scaleMax(String scaleMax) {
this.scaleMax = scaleMax;
return this;
}
/**
* Minimum scaling limit for a single node. Range: 1 PCU~31 PCU.
*
* example:
* 1
*/
public Builder scaleMin(String scaleMin) {
this.scaleMin = scaleMin;
return this;
}
/**
* Maximum scaling limit for the number of read-only nodes. Range: 0~15.
*
* example:
* 4
*/
public Builder scaleRoNumMax(String scaleRoNumMax) {
this.scaleRoNumMax = scaleRoNumMax;
return this;
}
/**
* Minimum scaling limit for the number of read-only nodes. Range: 0~15.
*
* example:
* 2
*/
public Builder scaleRoNumMin(String scaleRoNumMin) {
this.scaleRoNumMin = scaleRoNumMin;
return this;
}
/**
* Detection duration for idle shutdown. Range: 300~86,400. Unit: seconds. The detection duration must be a multiple of 300 seconds.
*
* example:
* 10
*/
public Builder secondsUntilAutoPause(String secondsUntilAutoPause) {
this.secondsUntilAutoPause = secondsUntilAutoPause;
return this;
}
/**
* CPU upscale threshold.
*
* example:
* 60
*/
public Builder serverlessRuleCpuEnlargeThreshold(String serverlessRuleCpuEnlargeThreshold) {
this.serverlessRuleCpuEnlargeThreshold = serverlessRuleCpuEnlargeThreshold;
return this;
}
/**
* CPU downscale threshold.
*
* example:
* 30
*/
public Builder serverlessRuleCpuShrinkThreshold(String serverlessRuleCpuShrinkThreshold) {
this.serverlessRuleCpuShrinkThreshold = serverlessRuleCpuShrinkThreshold;
return this;
}
/**
* Elasticity sensitivity. Values:
*
* normal: Standard
*
* flexible: Sensitive
*
*
*
* example:
* normal
*/
public Builder serverlessRuleMode(String serverlessRuleMode) {
this.serverlessRuleMode = serverlessRuleMode;
return this;
}
/**
* Whether steady state is enabled. Values:
* 1: Enabled
* 0: Disabled
*
* example:
* 1
*/
public Builder switchs(String switchs) {
this.switchs = switchs;
return this;
}
/**
* TraditionalScaleMaxThreshold.
*/
public Builder traditionalScaleMaxThreshold(String traditionalScaleMaxThreshold) {
this.traditionalScaleMaxThreshold = traditionalScaleMaxThreshold;
return this;
}
public DescribeDBClusterServerlessConfResponseBody build() {
return new DescribeDBClusterServerlessConfResponseBody(this);
}
}
}