
com.aliyun.ros.cdk.polardb.RosDBCluster Maven / Gradle / Ivy
package com.aliyun.ros.cdk.polardb;
/**
* This class is a base encapsulation around the ROS resource type ALIYUN::POLARDB::DBCluster
, which is used to create a PolarDB cluster.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.85.0 (build 08ee592)", date = "2024-12-13T06:45:10.602Z")
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.polardb.$Module.class, fqn = "@alicloud/ros-cdk-polardb.RosDBCluster")
public class RosDBCluster extends com.aliyun.ros.cdk.core.RosResource {
protected RosDBCluster(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected RosDBCluster(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
ROS_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.aliyun.ros.cdk.polardb.RosDBCluster.class, "ROS_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* @param scope - scope in which this resource is defined.
This parameter is required.
* @param id - scoped id of the resource.
This parameter is required.
* @param props - resource properties.
This parameter is required.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public RosDBCluster(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.polardb.RosDBClusterProps props, final @org.jetbrains.annotations.NotNull java.lang.Boolean enableResourcePropertyConstraint) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required"), java.util.Objects.requireNonNull(enableResourcePropertyConstraint, "enableResourcePropertyConstraint is required") });
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }));
}
/**
* The resource type name for this resource class.
*/
public final static java.lang.String ROS_RESOURCE_TYPE_NAME;
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrClusterConnectionString() {
return software.amazon.jsii.Kernel.get(this, "attrClusterConnectionString", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrClusterEndpointId() {
return software.amazon.jsii.Kernel.get(this, "attrClusterEndpointId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrColdStorageInstanceId() {
return software.amazon.jsii.Kernel.get(this, "attrColdStorageInstanceId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrCustomConnectionStrings() {
return software.amazon.jsii.Kernel.get(this, "attrCustomConnectionStrings", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrCustomEndpointIds() {
return software.amazon.jsii.Kernel.get(this, "attrCustomEndpointIds", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrDbClusterDescription() {
return software.amazon.jsii.Kernel.get(this, "attrDbClusterDescription", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrDbClusterId() {
return software.amazon.jsii.Kernel.get(this, "attrDbClusterId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrDbNodeIds() {
return software.amazon.jsii.Kernel.get(this, "attrDbNodeIds", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrOrderId() {
return software.amazon.jsii.Kernel.get(this, "attrOrderId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrPrimaryConnectionString() {
return software.amazon.jsii.Kernel.get(this, "attrPrimaryConnectionString", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrPrimaryConnectionStrings() {
return software.amazon.jsii.Kernel.get(this, "attrPrimaryConnectionStrings", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrPrimaryEndpointId() {
return software.amazon.jsii.Kernel.get(this, "attrPrimaryEndpointId", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
/**
*/
public @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable getAttrPrimaryEndpointIds() {
return software.amazon.jsii.Kernel.get(this, "attrPrimaryEndpointIds", software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.core.IResolvable.class));
}
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map getRosProperties() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "rosProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDbNodeClass() {
return software.amazon.jsii.Kernel.get(this, "dbNodeClass", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbNodeClass(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dbNodeClass", java.util.Objects.requireNonNull(value, "dbNodeClass is required"));
}
/**
*/
public void setDbNodeClass(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbNodeClass", java.util.Objects.requireNonNull(value, "dbNodeClass is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDbType() {
return software.amazon.jsii.Kernel.get(this, "dbType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbType(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dbType", java.util.Objects.requireNonNull(value, "dbType is required"));
}
/**
*/
public void setDbType(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbType", java.util.Objects.requireNonNull(value, "dbType is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getDbVersion() {
return software.amazon.jsii.Kernel.get(this, "dbVersion", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbVersion(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dbVersion", java.util.Objects.requireNonNull(value, "dbVersion is required"));
}
/**
*/
public void setDbVersion(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbVersion", java.util.Objects.requireNonNull(value, "dbVersion is required"));
}
public @org.jetbrains.annotations.NotNull java.lang.Boolean getEnableResourcePropertyConstraint() {
return software.amazon.jsii.Kernel.get(this, "enableResourcePropertyConstraint", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
}
public void setEnableResourcePropertyConstraint(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "enableResourcePropertyConstraint", java.util.Objects.requireNonNull(value, "enableResourcePropertyConstraint is required"));
}
/**
*/
public @org.jetbrains.annotations.NotNull java.lang.Object getPayType() {
return software.amazon.jsii.Kernel.get(this, "payType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setPayType(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "payType", java.util.Objects.requireNonNull(value, "payType is required"));
}
/**
*/
public void setPayType(final @org.jetbrains.annotations.NotNull com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "payType", java.util.Objects.requireNonNull(value, "payType is required"));
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getAllowShutDown() {
return software.amazon.jsii.Kernel.get(this, "allowShutDown", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setAllowShutDown(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "allowShutDown", value);
}
/**
*/
public void setAllowShutDown(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "allowShutDown", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getArchitecture() {
return software.amazon.jsii.Kernel.get(this, "architecture", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setArchitecture(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "architecture", value);
}
/**
*/
public void setArchitecture(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "architecture", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getAutoRenewPeriod() {
return software.amazon.jsii.Kernel.get(this, "autoRenewPeriod", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setAutoRenewPeriod(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "autoRenewPeriod", value);
}
/**
*/
public void setAutoRenewPeriod(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "autoRenewPeriod", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getBackupRetentionPolicyOnClusterDeletion() {
return software.amazon.jsii.Kernel.get(this, "backupRetentionPolicyOnClusterDeletion", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setBackupRetentionPolicyOnClusterDeletion(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "backupRetentionPolicyOnClusterDeletion", value);
}
/**
*/
public void setBackupRetentionPolicyOnClusterDeletion(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "backupRetentionPolicyOnClusterDeletion", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getCloneDataPoint() {
return software.amazon.jsii.Kernel.get(this, "cloneDataPoint", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setCloneDataPoint(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "cloneDataPoint", value);
}
/**
*/
public void setCloneDataPoint(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "cloneDataPoint", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getClusterNetworkType() {
return software.amazon.jsii.Kernel.get(this, "clusterNetworkType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setClusterNetworkType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "clusterNetworkType", value);
}
/**
*/
public void setClusterNetworkType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "clusterNetworkType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getColdStorageOption() {
return software.amazon.jsii.Kernel.get(this, "coldStorageOption", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setColdStorageOption(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "coldStorageOption", value);
}
/**
*/
public void setColdStorageOption(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.polardb.RosDBCluster.ColdStorageOptionProperty value) {
software.amazon.jsii.Kernel.set(this, "coldStorageOption", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getCreationCategory() {
return software.amazon.jsii.Kernel.get(this, "creationCategory", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setCreationCategory(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "creationCategory", value);
}
/**
*/
public void setCreationCategory(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "creationCategory", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getCreationOption() {
return software.amazon.jsii.Kernel.get(this, "creationOption", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setCreationOption(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "creationOption", value);
}
/**
*/
public void setCreationOption(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "creationOption", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDbClusterDescription() {
return software.amazon.jsii.Kernel.get(this, "dbClusterDescription", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbClusterDescription(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dbClusterDescription", value);
}
/**
*/
public void setDbClusterDescription(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbClusterDescription", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDbClusterParameters() {
return software.amazon.jsii.Kernel.get(this, "dbClusterParameters", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbClusterParameters(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbClusterParameters", value);
}
/**
*/
public void setDbClusterParameters(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.polardb.RosDBCluster.DBClusterParametersProperty value) {
software.amazon.jsii.Kernel.set(this, "dbClusterParameters", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDbMinorVersion() {
return software.amazon.jsii.Kernel.get(this, "dbMinorVersion", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbMinorVersion(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "dbMinorVersion", value);
}
/**
*/
public void setDbMinorVersion(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbMinorVersion", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDbNodeNum() {
return software.amazon.jsii.Kernel.get(this, "dbNodeNum", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDbNodeNum(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "dbNodeNum", value);
}
/**
*/
public void setDbNodeNum(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "dbNodeNum", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDefaultTimeZone() {
return software.amazon.jsii.Kernel.get(this, "defaultTimeZone", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDefaultTimeZone(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "defaultTimeZone", value);
}
/**
*/
public void setDefaultTimeZone(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "defaultTimeZone", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getDeletionProtection() {
return software.amazon.jsii.Kernel.get(this, "deletionProtection", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setDeletionProtection(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "deletionProtection", value);
}
/**
*/
public void setDeletionProtection(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "deletionProtection", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getGdnId() {
return software.amazon.jsii.Kernel.get(this, "gdnId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setGdnId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "gdnId", value);
}
/**
*/
public void setGdnId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "gdnId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getHotStandbyCluster() {
return software.amazon.jsii.Kernel.get(this, "hotStandbyCluster", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setHotStandbyCluster(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "hotStandbyCluster", value);
}
/**
*/
public void setHotStandbyCluster(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "hotStandbyCluster", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getLoosePolarLogBin() {
return software.amazon.jsii.Kernel.get(this, "loosePolarLogBin", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setLoosePolarLogBin(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "loosePolarLogBin", value);
}
/**
*/
public void setLoosePolarLogBin(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "loosePolarLogBin", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getLooseXEngine() {
return software.amazon.jsii.Kernel.get(this, "looseXEngine", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setLooseXEngine(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "looseXEngine", value);
}
/**
*/
public void setLooseXEngine(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "looseXEngine", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getLooseXEngineUseMemoryPct() {
return software.amazon.jsii.Kernel.get(this, "looseXEngineUseMemoryPct", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setLooseXEngineUseMemoryPct(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "looseXEngineUseMemoryPct", value);
}
/**
*/
public void setLooseXEngineUseMemoryPct(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "looseXEngineUseMemoryPct", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getLowerCaseTableNames() {
return software.amazon.jsii.Kernel.get(this, "lowerCaseTableNames", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setLowerCaseTableNames(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "lowerCaseTableNames", value);
}
/**
*/
public void setLowerCaseTableNames(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "lowerCaseTableNames", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getMaintainTime() {
return software.amazon.jsii.Kernel.get(this, "maintainTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setMaintainTime(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "maintainTime", value);
}
/**
*/
public void setMaintainTime(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "maintainTime", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getParameterGroupId() {
return software.amazon.jsii.Kernel.get(this, "parameterGroupId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setParameterGroupId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "parameterGroupId", value);
}
/**
*/
public void setParameterGroupId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "parameterGroupId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getPeriod() {
return software.amazon.jsii.Kernel.get(this, "period", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setPeriod(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "period", value);
}
/**
*/
public void setPeriod(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "period", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getPeriodUnit() {
return software.amazon.jsii.Kernel.get(this, "periodUnit", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setPeriodUnit(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "periodUnit", value);
}
/**
*/
public void setPeriodUnit(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "periodUnit", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getProvisionedIops() {
return software.amazon.jsii.Kernel.get(this, "provisionedIops", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setProvisionedIops(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "provisionedIops", value);
}
/**
*/
public void setProvisionedIops(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "provisionedIops", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getProxyClass() {
return software.amazon.jsii.Kernel.get(this, "proxyClass", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setProxyClass(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "proxyClass", value);
}
/**
*/
public void setProxyClass(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "proxyClass", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getProxyType() {
return software.amazon.jsii.Kernel.get(this, "proxyType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setProxyType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "proxyType", value);
}
/**
*/
public void setProxyType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "proxyType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getRenewalStatus() {
return software.amazon.jsii.Kernel.get(this, "renewalStatus", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setRenewalStatus(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "renewalStatus", value);
}
/**
*/
public void setRenewalStatus(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "renewalStatus", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getResourceGroupId() {
return software.amazon.jsii.Kernel.get(this, "resourceGroupId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setResourceGroupId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "resourceGroupId", value);
}
/**
*/
public void setResourceGroupId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "resourceGroupId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getRestartMasterNode() {
return software.amazon.jsii.Kernel.get(this, "restartMasterNode", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setRestartMasterNode(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "restartMasterNode", value);
}
/**
*/
public void setRestartMasterNode(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "restartMasterNode", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getScaleMax() {
return software.amazon.jsii.Kernel.get(this, "scaleMax", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setScaleMax(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "scaleMax", value);
}
/**
*/
public void setScaleMax(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "scaleMax", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getScaleMin() {
return software.amazon.jsii.Kernel.get(this, "scaleMin", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setScaleMin(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "scaleMin", value);
}
/**
*/
public void setScaleMin(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "scaleMin", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getScaleRoNumMax() {
return software.amazon.jsii.Kernel.get(this, "scaleRoNumMax", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setScaleRoNumMax(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "scaleRoNumMax", value);
}
/**
*/
public void setScaleRoNumMax(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "scaleRoNumMax", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getScaleRoNumMin() {
return software.amazon.jsii.Kernel.get(this, "scaleRoNumMin", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setScaleRoNumMin(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "scaleRoNumMin", value);
}
/**
*/
public void setScaleRoNumMin(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "scaleRoNumMin", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSecurityGroupIds() {
return software.amazon.jsii.Kernel.get(this, "securityGroupIds", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSecurityGroupIds(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "securityGroupIds", value);
}
/**
*/
public void setSecurityGroupIds(final @org.jetbrains.annotations.Nullable java.util.List value) {
if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
for (int __idx_ac66f0 = 0; __idx_ac66f0 < value.size(); __idx_ac66f0++) {
final java.lang.Object __val_ac66f0 = value.get(__idx_ac66f0);
if (
!(__val_ac66f0 instanceof java.lang.String)
&& !(__val_ac66f0 instanceof com.aliyun.ros.cdk.core.IResolvable)
&& !(__val_ac66f0.getClass().equals(software.amazon.jsii.JsiiObject.class))
) {
throw new IllegalArgumentException(
new java.lang.StringBuilder("Expected ")
.append("value").append(".get(").append(__idx_ac66f0).append(")")
.append(" to be one of: java.lang.String, com.aliyun.ros.cdk.core.IResolvable; received ")
.append(__val_ac66f0.getClass()).toString());
}
}
}
software.amazon.jsii.Kernel.set(this, "securityGroupIds", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSecurityIpList() {
return software.amazon.jsii.Kernel.get(this, "securityIpList", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSecurityIpList(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "securityIpList", value);
}
/**
*/
public void setSecurityIpList(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "securityIpList", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getServerlessType() {
return software.amazon.jsii.Kernel.get(this, "serverlessType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setServerlessType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "serverlessType", value);
}
/**
*/
public void setServerlessType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "serverlessType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getSourceResourceId() {
return software.amazon.jsii.Kernel.get(this, "sourceResourceId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setSourceResourceId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "sourceResourceId", value);
}
/**
*/
public void setSourceResourceId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "sourceResourceId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStandbyAz() {
return software.amazon.jsii.Kernel.get(this, "standbyAz", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStandbyAz(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "standbyAz", value);
}
/**
*/
public void setStandbyAz(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "standbyAz", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStorageAutoScale() {
return software.amazon.jsii.Kernel.get(this, "storageAutoScale", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStorageAutoScale(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "storageAutoScale", value);
}
/**
*/
public void setStorageAutoScale(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "storageAutoScale", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStoragePayType() {
return software.amazon.jsii.Kernel.get(this, "storagePayType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStoragePayType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "storagePayType", value);
}
/**
*/
public void setStoragePayType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "storagePayType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStorageSpace() {
return software.amazon.jsii.Kernel.get(this, "storageSpace", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStorageSpace(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "storageSpace", value);
}
/**
*/
public void setStorageSpace(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "storageSpace", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStorageType() {
return software.amazon.jsii.Kernel.get(this, "storageType", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStorageType(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "storageType", value);
}
/**
*/
public void setStorageType(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "storageType", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStorageUpperBound() {
return software.amazon.jsii.Kernel.get(this, "storageUpperBound", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStorageUpperBound(final @org.jetbrains.annotations.Nullable java.lang.Number value) {
software.amazon.jsii.Kernel.set(this, "storageUpperBound", value);
}
/**
*/
public void setStorageUpperBound(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "storageUpperBound", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getStrictConsistency() {
return software.amazon.jsii.Kernel.get(this, "strictConsistency", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setStrictConsistency(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "strictConsistency", value);
}
/**
*/
public void setStrictConsistency(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "strictConsistency", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.util.List getTags() {
return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(com.aliyun.ros.cdk.polardb.RosDBCluster.TagsProperty.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
}
/**
*/
public void setTags(final @org.jetbrains.annotations.Nullable java.util.List value) {
software.amazon.jsii.Kernel.set(this, "tags", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getTdeStatus() {
return software.amazon.jsii.Kernel.get(this, "tdeStatus", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setTdeStatus(final @org.jetbrains.annotations.Nullable java.lang.Boolean value) {
software.amazon.jsii.Kernel.set(this, "tdeStatus", value);
}
/**
*/
public void setTdeStatus(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "tdeStatus", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getVpcId() {
return software.amazon.jsii.Kernel.get(this, "vpcId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setVpcId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "vpcId", value);
}
/**
*/
public void setVpcId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "vpcId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getVSwitchId() {
return software.amazon.jsii.Kernel.get(this, "vSwitchId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setVSwitchId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "vSwitchId", value);
}
/**
*/
public void setVSwitchId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "vSwitchId", value);
}
/**
*/
public @org.jetbrains.annotations.Nullable java.lang.Object getZoneId() {
return software.amazon.jsii.Kernel.get(this, "zoneId", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
*/
public void setZoneId(final @org.jetbrains.annotations.Nullable java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "zoneId", value);
}
/**
*/
public void setZoneId(final @org.jetbrains.annotations.Nullable com.aliyun.ros.cdk.core.IResolvable value) {
software.amazon.jsii.Kernel.set(this, "zoneId", value);
}
/**
*/
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.polardb.$Module.class, fqn = "@alicloud/ros-cdk-polardb.RosDBCluster.ColdStorageOptionProperty")
@software.amazon.jsii.Jsii.Proxy(ColdStorageOptionProperty.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static interface ColdStorageOptionProperty extends software.amazon.jsii.JsiiSerializable {
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getDescription() {
return null;
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getEnable() {
return null;
}
/**
* @return a {@link Builder} of {@link ColdStorageOptionProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link ColdStorageOptionProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Object description;
java.lang.Object enable;
/**
* Sets the value of {@link ColdStorageOptionProperty#getDescription}
* @param description the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder description(java.lang.String description) {
this.description = description;
return this;
}
/**
* Sets the value of {@link ColdStorageOptionProperty#getDescription}
* @param description the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder description(com.aliyun.ros.cdk.core.IResolvable description) {
this.description = description;
return this;
}
/**
* Sets the value of {@link ColdStorageOptionProperty#getEnable}
* @param enable the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder enable(java.lang.Boolean enable) {
this.enable = enable;
return this;
}
/**
* Sets the value of {@link ColdStorageOptionProperty#getEnable}
* @param enable the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder enable(com.aliyun.ros.cdk.core.IResolvable enable) {
this.enable = enable;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link ColdStorageOptionProperty}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public ColdStorageOptionProperty build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link ColdStorageOptionProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ColdStorageOptionProperty {
private final java.lang.Object description;
private final java.lang.Object enable;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.description = software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.enable = software.amazon.jsii.Kernel.get(this, "enable", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.description = builder.description;
this.enable = builder.enable;
}
@Override
public final java.lang.Object getDescription() {
return this.description;
}
@Override
public final java.lang.Object getEnable() {
return this.enable;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getDescription() != null) {
data.set("description", om.valueToTree(this.getDescription()));
}
if (this.getEnable() != null) {
data.set("enable", om.valueToTree(this.getEnable()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@alicloud/ros-cdk-polardb.RosDBCluster.ColdStorageOptionProperty"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ColdStorageOptionProperty.Jsii$Proxy that = (ColdStorageOptionProperty.Jsii$Proxy) o;
if (this.description != null ? !this.description.equals(that.description) : that.description != null) return false;
return this.enable != null ? this.enable.equals(that.enable) : that.enable == null;
}
@Override
public final int hashCode() {
int result = this.description != null ? this.description.hashCode() : 0;
result = 31 * result + (this.enable != null ? this.enable.hashCode() : 0);
return result;
}
}
}
/**
*/
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.polardb.$Module.class, fqn = "@alicloud/ros-cdk-polardb.RosDBCluster.DBClusterParametersProperty")
@software.amazon.jsii.Jsii.Proxy(DBClusterParametersProperty.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static interface DBClusterParametersProperty extends software.amazon.jsii.JsiiSerializable {
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getEffectiveTime() {
return null;
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getParameters() {
return null;
}
/**
* @return a {@link Builder} of {@link DBClusterParametersProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link DBClusterParametersProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Object effectiveTime;
java.lang.Object parameters;
/**
* Sets the value of {@link DBClusterParametersProperty#getEffectiveTime}
* @param effectiveTime the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder effectiveTime(java.lang.String effectiveTime) {
this.effectiveTime = effectiveTime;
return this;
}
/**
* Sets the value of {@link DBClusterParametersProperty#getEffectiveTime}
* @param effectiveTime the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder effectiveTime(com.aliyun.ros.cdk.core.IResolvable effectiveTime) {
this.effectiveTime = effectiveTime;
return this;
}
/**
* Sets the value of {@link DBClusterParametersProperty#getParameters}
* @param parameters the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder parameters(java.lang.String parameters) {
this.parameters = parameters;
return this;
}
/**
* Sets the value of {@link DBClusterParametersProperty#getParameters}
* @param parameters the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder parameters(com.aliyun.ros.cdk.core.IResolvable parameters) {
this.parameters = parameters;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link DBClusterParametersProperty}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public DBClusterParametersProperty build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link DBClusterParametersProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DBClusterParametersProperty {
private final java.lang.Object effectiveTime;
private final java.lang.Object parameters;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.effectiveTime = software.amazon.jsii.Kernel.get(this, "effectiveTime", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.parameters = software.amazon.jsii.Kernel.get(this, "parameters", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.effectiveTime = builder.effectiveTime;
this.parameters = builder.parameters;
}
@Override
public final java.lang.Object getEffectiveTime() {
return this.effectiveTime;
}
@Override
public final java.lang.Object getParameters() {
return this.parameters;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getEffectiveTime() != null) {
data.set("effectiveTime", om.valueToTree(this.getEffectiveTime()));
}
if (this.getParameters() != null) {
data.set("parameters", om.valueToTree(this.getParameters()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@alicloud/ros-cdk-polardb.RosDBCluster.DBClusterParametersProperty"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DBClusterParametersProperty.Jsii$Proxy that = (DBClusterParametersProperty.Jsii$Proxy) o;
if (this.effectiveTime != null ? !this.effectiveTime.equals(that.effectiveTime) : that.effectiveTime != null) return false;
return this.parameters != null ? this.parameters.equals(that.parameters) : that.parameters == null;
}
@Override
public final int hashCode() {
int result = this.effectiveTime != null ? this.effectiveTime.hashCode() : 0;
result = 31 * result + (this.parameters != null ? this.parameters.hashCode() : 0);
return result;
}
}
}
/**
*/
@software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.polardb.$Module.class, fqn = "@alicloud/ros-cdk-polardb.RosDBCluster.TagsProperty")
@software.amazon.jsii.Jsii.Proxy(TagsProperty.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static interface TagsProperty extends software.amazon.jsii.JsiiSerializable {
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.Object getKey();
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.Object getValue() {
return null;
}
/**
* @return a {@link Builder} of {@link TagsProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link TagsProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.Object key;
java.lang.Object value;
/**
* Sets the value of {@link TagsProperty#getKey}
* @param key the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder key(java.lang.String key) {
this.key = key;
return this;
}
/**
* Sets the value of {@link TagsProperty#getKey}
* @param key the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder key(com.aliyun.ros.cdk.core.IResolvable key) {
this.key = key;
return this;
}
/**
* Sets the value of {@link TagsProperty#getValue}
* @param value the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder value(java.lang.String value) {
this.value = value;
return this;
}
/**
* Sets the value of {@link TagsProperty#getValue}
* @param value the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder value(com.aliyun.ros.cdk.core.IResolvable value) {
this.value = value;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link TagsProperty}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public TagsProperty build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link TagsProperty}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TagsProperty {
private final java.lang.Object key;
private final java.lang.Object value;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.key = software.amazon.jsii.Kernel.get(this, "key", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
this.value = software.amazon.jsii.Kernel.get(this, "value", software.amazon.jsii.NativeType.forClass(java.lang.Object.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.key = java.util.Objects.requireNonNull(builder.key, "key is required");
this.value = builder.value;
}
@Override
public final java.lang.Object getKey() {
return this.key;
}
@Override
public final java.lang.Object getValue() {
return this.value;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
data.set("key", om.valueToTree(this.getKey()));
if (this.getValue() != null) {
data.set("value", om.valueToTree(this.getValue()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@alicloud/ros-cdk-polardb.RosDBCluster.TagsProperty"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TagsProperty.Jsii$Proxy that = (TagsProperty.Jsii$Proxy) o;
if (!key.equals(that.key)) return false;
return this.value != null ? this.value.equals(that.value) : that.value == null;
}
@Override
public final int hashCode() {
int result = this.key.hashCode();
result = 31 * result + (this.value != null ? this.value.hashCode() : 0);
return result;
}
}
}
/**
* A fluent builder for {@link com.aliyun.ros.cdk.polardb.RosDBCluster}.
*/
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope - scope in which this resource is defined.
This parameter is required.
* @param id - scoped id of the resource.
This parameter is required.
* @param enableResourcePropertyConstraint This parameter is required.
*/
public static Builder create(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
return new Builder(scope, id, enableResourcePropertyConstraint);
}
private final com.aliyun.ros.cdk.core.Construct scope;
private final java.lang.String id;
private final java.lang.Boolean enableResourcePropertyConstraint;
private final com.aliyun.ros.cdk.polardb.RosDBClusterProps.Builder props;
private Builder(final com.aliyun.ros.cdk.core.Construct scope, final java.lang.String id, final java.lang.Boolean enableResourcePropertyConstraint) {
this.scope = scope;
this.id = id;
this.enableResourcePropertyConstraint = enableResourcePropertyConstraint;
this.props = new com.aliyun.ros.cdk.polardb.RosDBClusterProps.Builder();
}
/**
* @return {@code this}
* @param dbNodeClass This parameter is required.
*/
public Builder dbNodeClass(final java.lang.String dbNodeClass) {
this.props.dbNodeClass(dbNodeClass);
return this;
}
/**
* @return {@code this}
* @param dbNodeClass This parameter is required.
*/
public Builder dbNodeClass(final com.aliyun.ros.cdk.core.IResolvable dbNodeClass) {
this.props.dbNodeClass(dbNodeClass);
return this;
}
/**
* @return {@code this}
* @param dbType This parameter is required.
*/
public Builder dbType(final java.lang.String dbType) {
this.props.dbType(dbType);
return this;
}
/**
* @return {@code this}
* @param dbType This parameter is required.
*/
public Builder dbType(final com.aliyun.ros.cdk.core.IResolvable dbType) {
this.props.dbType(dbType);
return this;
}
/**
* @return {@code this}
* @param dbVersion This parameter is required.
*/
public Builder dbVersion(final java.lang.String dbVersion) {
this.props.dbVersion(dbVersion);
return this;
}
/**
* @return {@code this}
* @param dbVersion This parameter is required.
*/
public Builder dbVersion(final com.aliyun.ros.cdk.core.IResolvable dbVersion) {
this.props.dbVersion(dbVersion);
return this;
}
/**
* @return {@code this}
* @param payType This parameter is required.
*/
public Builder payType(final java.lang.String payType) {
this.props.payType(payType);
return this;
}
/**
* @return {@code this}
* @param payType This parameter is required.
*/
public Builder payType(final com.aliyun.ros.cdk.core.IResolvable payType) {
this.props.payType(payType);
return this;
}
/**
* @return {@code this}
* @param allowShutDown This parameter is required.
*/
public Builder allowShutDown(final java.lang.Boolean allowShutDown) {
this.props.allowShutDown(allowShutDown);
return this;
}
/**
* @return {@code this}
* @param allowShutDown This parameter is required.
*/
public Builder allowShutDown(final com.aliyun.ros.cdk.core.IResolvable allowShutDown) {
this.props.allowShutDown(allowShutDown);
return this;
}
/**
* @return {@code this}
* @param architecture This parameter is required.
*/
public Builder architecture(final java.lang.String architecture) {
this.props.architecture(architecture);
return this;
}
/**
* @return {@code this}
* @param architecture This parameter is required.
*/
public Builder architecture(final com.aliyun.ros.cdk.core.IResolvable architecture) {
this.props.architecture(architecture);
return this;
}
/**
* @return {@code this}
* @param autoRenewPeriod This parameter is required.
*/
public Builder autoRenewPeriod(final java.lang.Number autoRenewPeriod) {
this.props.autoRenewPeriod(autoRenewPeriod);
return this;
}
/**
* @return {@code this}
* @param autoRenewPeriod This parameter is required.
*/
public Builder autoRenewPeriod(final com.aliyun.ros.cdk.core.IResolvable autoRenewPeriod) {
this.props.autoRenewPeriod(autoRenewPeriod);
return this;
}
/**
* @return {@code this}
* @param backupRetentionPolicyOnClusterDeletion This parameter is required.
*/
public Builder backupRetentionPolicyOnClusterDeletion(final java.lang.String backupRetentionPolicyOnClusterDeletion) {
this.props.backupRetentionPolicyOnClusterDeletion(backupRetentionPolicyOnClusterDeletion);
return this;
}
/**
* @return {@code this}
* @param backupRetentionPolicyOnClusterDeletion This parameter is required.
*/
public Builder backupRetentionPolicyOnClusterDeletion(final com.aliyun.ros.cdk.core.IResolvable backupRetentionPolicyOnClusterDeletion) {
this.props.backupRetentionPolicyOnClusterDeletion(backupRetentionPolicyOnClusterDeletion);
return this;
}
/**
* @return {@code this}
* @param cloneDataPoint This parameter is required.
*/
public Builder cloneDataPoint(final java.lang.String cloneDataPoint) {
this.props.cloneDataPoint(cloneDataPoint);
return this;
}
/**
* @return {@code this}
* @param cloneDataPoint This parameter is required.
*/
public Builder cloneDataPoint(final com.aliyun.ros.cdk.core.IResolvable cloneDataPoint) {
this.props.cloneDataPoint(cloneDataPoint);
return this;
}
/**
* @return {@code this}
* @param clusterNetworkType This parameter is required.
*/
public Builder clusterNetworkType(final java.lang.String clusterNetworkType) {
this.props.clusterNetworkType(clusterNetworkType);
return this;
}
/**
* @return {@code this}
* @param clusterNetworkType This parameter is required.
*/
public Builder clusterNetworkType(final com.aliyun.ros.cdk.core.IResolvable clusterNetworkType) {
this.props.clusterNetworkType(clusterNetworkType);
return this;
}
/**
* @return {@code this}
* @param coldStorageOption This parameter is required.
*/
public Builder coldStorageOption(final com.aliyun.ros.cdk.core.IResolvable coldStorageOption) {
this.props.coldStorageOption(coldStorageOption);
return this;
}
/**
* @return {@code this}
* @param coldStorageOption This parameter is required.
*/
public Builder coldStorageOption(final com.aliyun.ros.cdk.polardb.RosDBCluster.ColdStorageOptionProperty coldStorageOption) {
this.props.coldStorageOption(coldStorageOption);
return this;
}
/**
* @return {@code this}
* @param creationCategory This parameter is required.
*/
public Builder creationCategory(final java.lang.String creationCategory) {
this.props.creationCategory(creationCategory);
return this;
}
/**
* @return {@code this}
* @param creationCategory This parameter is required.
*/
public Builder creationCategory(final com.aliyun.ros.cdk.core.IResolvable creationCategory) {
this.props.creationCategory(creationCategory);
return this;
}
/**
* @return {@code this}
* @param creationOption This parameter is required.
*/
public Builder creationOption(final java.lang.String creationOption) {
this.props.creationOption(creationOption);
return this;
}
/**
* @return {@code this}
* @param creationOption This parameter is required.
*/
public Builder creationOption(final com.aliyun.ros.cdk.core.IResolvable creationOption) {
this.props.creationOption(creationOption);
return this;
}
/**
* @return {@code this}
* @param dbClusterDescription This parameter is required.
*/
public Builder dbClusterDescription(final java.lang.String dbClusterDescription) {
this.props.dbClusterDescription(dbClusterDescription);
return this;
}
/**
* @return {@code this}
* @param dbClusterDescription This parameter is required.
*/
public Builder dbClusterDescription(final com.aliyun.ros.cdk.core.IResolvable dbClusterDescription) {
this.props.dbClusterDescription(dbClusterDescription);
return this;
}
/**
* @return {@code this}
* @param dbClusterParameters This parameter is required.
*/
public Builder dbClusterParameters(final com.aliyun.ros.cdk.core.IResolvable dbClusterParameters) {
this.props.dbClusterParameters(dbClusterParameters);
return this;
}
/**
* @return {@code this}
* @param dbClusterParameters This parameter is required.
*/
public Builder dbClusterParameters(final com.aliyun.ros.cdk.polardb.RosDBCluster.DBClusterParametersProperty dbClusterParameters) {
this.props.dbClusterParameters(dbClusterParameters);
return this;
}
/**
* @return {@code this}
* @param dbMinorVersion This parameter is required.
*/
public Builder dbMinorVersion(final java.lang.String dbMinorVersion) {
this.props.dbMinorVersion(dbMinorVersion);
return this;
}
/**
* @return {@code this}
* @param dbMinorVersion This parameter is required.
*/
public Builder dbMinorVersion(final com.aliyun.ros.cdk.core.IResolvable dbMinorVersion) {
this.props.dbMinorVersion(dbMinorVersion);
return this;
}
/**
* @return {@code this}
* @param dbNodeNum This parameter is required.
*/
public Builder dbNodeNum(final java.lang.Number dbNodeNum) {
this.props.dbNodeNum(dbNodeNum);
return this;
}
/**
* @return {@code this}
* @param dbNodeNum This parameter is required.
*/
public Builder dbNodeNum(final com.aliyun.ros.cdk.core.IResolvable dbNodeNum) {
this.props.dbNodeNum(dbNodeNum);
return this;
}
/**
* @return {@code this}
* @param defaultTimeZone This parameter is required.
*/
public Builder defaultTimeZone(final java.lang.String defaultTimeZone) {
this.props.defaultTimeZone(defaultTimeZone);
return this;
}
/**
* @return {@code this}
* @param defaultTimeZone This parameter is required.
*/
public Builder defaultTimeZone(final com.aliyun.ros.cdk.core.IResolvable defaultTimeZone) {
this.props.defaultTimeZone(defaultTimeZone);
return this;
}
/**
* @return {@code this}
* @param deletionProtection This parameter is required.
*/
public Builder deletionProtection(final java.lang.Boolean deletionProtection) {
this.props.deletionProtection(deletionProtection);
return this;
}
/**
* @return {@code this}
* @param deletionProtection This parameter is required.
*/
public Builder deletionProtection(final com.aliyun.ros.cdk.core.IResolvable deletionProtection) {
this.props.deletionProtection(deletionProtection);
return this;
}
/**
* @return {@code this}
* @param gdnId This parameter is required.
*/
public Builder gdnId(final java.lang.String gdnId) {
this.props.gdnId(gdnId);
return this;
}
/**
* @return {@code this}
* @param gdnId This parameter is required.
*/
public Builder gdnId(final com.aliyun.ros.cdk.core.IResolvable gdnId) {
this.props.gdnId(gdnId);
return this;
}
/**
* @return {@code this}
* @param hotStandbyCluster This parameter is required.
*/
public Builder hotStandbyCluster(final java.lang.String hotStandbyCluster) {
this.props.hotStandbyCluster(hotStandbyCluster);
return this;
}
/**
* @return {@code this}
* @param hotStandbyCluster This parameter is required.
*/
public Builder hotStandbyCluster(final com.aliyun.ros.cdk.core.IResolvable hotStandbyCluster) {
this.props.hotStandbyCluster(hotStandbyCluster);
return this;
}
/**
* @return {@code this}
* @param loosePolarLogBin This parameter is required.
*/
public Builder loosePolarLogBin(final java.lang.String loosePolarLogBin) {
this.props.loosePolarLogBin(loosePolarLogBin);
return this;
}
/**
* @return {@code this}
* @param loosePolarLogBin This parameter is required.
*/
public Builder loosePolarLogBin(final com.aliyun.ros.cdk.core.IResolvable loosePolarLogBin) {
this.props.loosePolarLogBin(loosePolarLogBin);
return this;
}
/**
* @return {@code this}
* @param looseXEngine This parameter is required.
*/
public Builder looseXEngine(final java.lang.String looseXEngine) {
this.props.looseXEngine(looseXEngine);
return this;
}
/**
* @return {@code this}
* @param looseXEngine This parameter is required.
*/
public Builder looseXEngine(final com.aliyun.ros.cdk.core.IResolvable looseXEngine) {
this.props.looseXEngine(looseXEngine);
return this;
}
/**
* @return {@code this}
* @param looseXEngineUseMemoryPct This parameter is required.
*/
public Builder looseXEngineUseMemoryPct(final java.lang.Number looseXEngineUseMemoryPct) {
this.props.looseXEngineUseMemoryPct(looseXEngineUseMemoryPct);
return this;
}
/**
* @return {@code this}
* @param looseXEngineUseMemoryPct This parameter is required.
*/
public Builder looseXEngineUseMemoryPct(final com.aliyun.ros.cdk.core.IResolvable looseXEngineUseMemoryPct) {
this.props.looseXEngineUseMemoryPct(looseXEngineUseMemoryPct);
return this;
}
/**
* @return {@code this}
* @param lowerCaseTableNames This parameter is required.
*/
public Builder lowerCaseTableNames(final java.lang.Number lowerCaseTableNames) {
this.props.lowerCaseTableNames(lowerCaseTableNames);
return this;
}
/**
* @return {@code this}
* @param lowerCaseTableNames This parameter is required.
*/
public Builder lowerCaseTableNames(final com.aliyun.ros.cdk.core.IResolvable lowerCaseTableNames) {
this.props.lowerCaseTableNames(lowerCaseTableNames);
return this;
}
/**
* @return {@code this}
* @param maintainTime This parameter is required.
*/
public Builder maintainTime(final java.lang.String maintainTime) {
this.props.maintainTime(maintainTime);
return this;
}
/**
* @return {@code this}
* @param maintainTime This parameter is required.
*/
public Builder maintainTime(final com.aliyun.ros.cdk.core.IResolvable maintainTime) {
this.props.maintainTime(maintainTime);
return this;
}
/**
* @return {@code this}
* @param parameterGroupId This parameter is required.
*/
public Builder parameterGroupId(final java.lang.String parameterGroupId) {
this.props.parameterGroupId(parameterGroupId);
return this;
}
/**
* @return {@code this}
* @param parameterGroupId This parameter is required.
*/
public Builder parameterGroupId(final com.aliyun.ros.cdk.core.IResolvable parameterGroupId) {
this.props.parameterGroupId(parameterGroupId);
return this;
}
/**
* @return {@code this}
* @param period This parameter is required.
*/
public Builder period(final java.lang.Number period) {
this.props.period(period);
return this;
}
/**
* @return {@code this}
* @param period This parameter is required.
*/
public Builder period(final com.aliyun.ros.cdk.core.IResolvable period) {
this.props.period(period);
return this;
}
/**
* @return {@code this}
* @param periodUnit This parameter is required.
*/
public Builder periodUnit(final java.lang.String periodUnit) {
this.props.periodUnit(periodUnit);
return this;
}
/**
* @return {@code this}
* @param periodUnit This parameter is required.
*/
public Builder periodUnit(final com.aliyun.ros.cdk.core.IResolvable periodUnit) {
this.props.periodUnit(periodUnit);
return this;
}
/**
* @return {@code this}
* @param provisionedIops This parameter is required.
*/
public Builder provisionedIops(final java.lang.Number provisionedIops) {
this.props.provisionedIops(provisionedIops);
return this;
}
/**
* @return {@code this}
* @param provisionedIops This parameter is required.
*/
public Builder provisionedIops(final com.aliyun.ros.cdk.core.IResolvable provisionedIops) {
this.props.provisionedIops(provisionedIops);
return this;
}
/**
* @return {@code this}
* @param proxyClass This parameter is required.
*/
public Builder proxyClass(final java.lang.String proxyClass) {
this.props.proxyClass(proxyClass);
return this;
}
/**
* @return {@code this}
* @param proxyClass This parameter is required.
*/
public Builder proxyClass(final com.aliyun.ros.cdk.core.IResolvable proxyClass) {
this.props.proxyClass(proxyClass);
return this;
}
/**
* @return {@code this}
* @param proxyType This parameter is required.
*/
public Builder proxyType(final java.lang.String proxyType) {
this.props.proxyType(proxyType);
return this;
}
/**
* @return {@code this}
* @param proxyType This parameter is required.
*/
public Builder proxyType(final com.aliyun.ros.cdk.core.IResolvable proxyType) {
this.props.proxyType(proxyType);
return this;
}
/**
* @return {@code this}
* @param renewalStatus This parameter is required.
*/
public Builder renewalStatus(final java.lang.String renewalStatus) {
this.props.renewalStatus(renewalStatus);
return this;
}
/**
* @return {@code this}
* @param renewalStatus This parameter is required.
*/
public Builder renewalStatus(final com.aliyun.ros.cdk.core.IResolvable renewalStatus) {
this.props.renewalStatus(renewalStatus);
return this;
}
/**
* @return {@code this}
* @param resourceGroupId This parameter is required.
*/
public Builder resourceGroupId(final java.lang.String resourceGroupId) {
this.props.resourceGroupId(resourceGroupId);
return this;
}
/**
* @return {@code this}
* @param resourceGroupId This parameter is required.
*/
public Builder resourceGroupId(final com.aliyun.ros.cdk.core.IResolvable resourceGroupId) {
this.props.resourceGroupId(resourceGroupId);
return this;
}
/**
* @return {@code this}
* @param restartMasterNode This parameter is required.
*/
public Builder restartMasterNode(final java.lang.Boolean restartMasterNode) {
this.props.restartMasterNode(restartMasterNode);
return this;
}
/**
* @return {@code this}
* @param restartMasterNode This parameter is required.
*/
public Builder restartMasterNode(final com.aliyun.ros.cdk.core.IResolvable restartMasterNode) {
this.props.restartMasterNode(restartMasterNode);
return this;
}
/**
* @return {@code this}
* @param scaleMax This parameter is required.
*/
public Builder scaleMax(final java.lang.Number scaleMax) {
this.props.scaleMax(scaleMax);
return this;
}
/**
* @return {@code this}
* @param scaleMax This parameter is required.
*/
public Builder scaleMax(final com.aliyun.ros.cdk.core.IResolvable scaleMax) {
this.props.scaleMax(scaleMax);
return this;
}
/**
* @return {@code this}
* @param scaleMin This parameter is required.
*/
public Builder scaleMin(final java.lang.Number scaleMin) {
this.props.scaleMin(scaleMin);
return this;
}
/**
* @return {@code this}
* @param scaleMin This parameter is required.
*/
public Builder scaleMin(final com.aliyun.ros.cdk.core.IResolvable scaleMin) {
this.props.scaleMin(scaleMin);
return this;
}
/**
* @return {@code this}
* @param scaleRoNumMax This parameter is required.
*/
public Builder scaleRoNumMax(final java.lang.Number scaleRoNumMax) {
this.props.scaleRoNumMax(scaleRoNumMax);
return this;
}
/**
* @return {@code this}
* @param scaleRoNumMax This parameter is required.
*/
public Builder scaleRoNumMax(final com.aliyun.ros.cdk.core.IResolvable scaleRoNumMax) {
this.props.scaleRoNumMax(scaleRoNumMax);
return this;
}
/**
* @return {@code this}
* @param scaleRoNumMin This parameter is required.
*/
public Builder scaleRoNumMin(final java.lang.Number scaleRoNumMin) {
this.props.scaleRoNumMin(scaleRoNumMin);
return this;
}
/**
* @return {@code this}
* @param scaleRoNumMin This parameter is required.
*/
public Builder scaleRoNumMin(final com.aliyun.ros.cdk.core.IResolvable scaleRoNumMin) {
this.props.scaleRoNumMin(scaleRoNumMin);
return this;
}
/**
* @return {@code this}
* @param securityGroupIds This parameter is required.
*/
public Builder securityGroupIds(final com.aliyun.ros.cdk.core.IResolvable securityGroupIds) {
this.props.securityGroupIds(securityGroupIds);
return this;
}
/**
* @return {@code this}
* @param securityGroupIds This parameter is required.
*/
public Builder securityGroupIds(final java.util.List extends java.lang.Object> securityGroupIds) {
this.props.securityGroupIds(securityGroupIds);
return this;
}
/**
* @return {@code this}
* @param securityIpList This parameter is required.
*/
public Builder securityIpList(final java.lang.String securityIpList) {
this.props.securityIpList(securityIpList);
return this;
}
/**
* @return {@code this}
* @param securityIpList This parameter is required.
*/
public Builder securityIpList(final com.aliyun.ros.cdk.core.IResolvable securityIpList) {
this.props.securityIpList(securityIpList);
return this;
}
/**
* @return {@code this}
* @param serverlessType This parameter is required.
*/
public Builder serverlessType(final java.lang.String serverlessType) {
this.props.serverlessType(serverlessType);
return this;
}
/**
* @return {@code this}
* @param serverlessType This parameter is required.
*/
public Builder serverlessType(final com.aliyun.ros.cdk.core.IResolvable serverlessType) {
this.props.serverlessType(serverlessType);
return this;
}
/**
* @return {@code this}
* @param sourceResourceId This parameter is required.
*/
public Builder sourceResourceId(final java.lang.String sourceResourceId) {
this.props.sourceResourceId(sourceResourceId);
return this;
}
/**
* @return {@code this}
* @param sourceResourceId This parameter is required.
*/
public Builder sourceResourceId(final com.aliyun.ros.cdk.core.IResolvable sourceResourceId) {
this.props.sourceResourceId(sourceResourceId);
return this;
}
/**
* @return {@code this}
* @param standbyAz This parameter is required.
*/
public Builder standbyAz(final java.lang.String standbyAz) {
this.props.standbyAz(standbyAz);
return this;
}
/**
* @return {@code this}
* @param standbyAz This parameter is required.
*/
public Builder standbyAz(final com.aliyun.ros.cdk.core.IResolvable standbyAz) {
this.props.standbyAz(standbyAz);
return this;
}
/**
* @return {@code this}
* @param storageAutoScale This parameter is required.
*/
public Builder storageAutoScale(final java.lang.String storageAutoScale) {
this.props.storageAutoScale(storageAutoScale);
return this;
}
/**
* @return {@code this}
* @param storageAutoScale This parameter is required.
*/
public Builder storageAutoScale(final com.aliyun.ros.cdk.core.IResolvable storageAutoScale) {
this.props.storageAutoScale(storageAutoScale);
return this;
}
/**
* @return {@code this}
* @param storagePayType This parameter is required.
*/
public Builder storagePayType(final java.lang.String storagePayType) {
this.props.storagePayType(storagePayType);
return this;
}
/**
* @return {@code this}
* @param storagePayType This parameter is required.
*/
public Builder storagePayType(final com.aliyun.ros.cdk.core.IResolvable storagePayType) {
this.props.storagePayType(storagePayType);
return this;
}
/**
* @return {@code this}
* @param storageSpace This parameter is required.
*/
public Builder storageSpace(final java.lang.Number storageSpace) {
this.props.storageSpace(storageSpace);
return this;
}
/**
* @return {@code this}
* @param storageSpace This parameter is required.
*/
public Builder storageSpace(final com.aliyun.ros.cdk.core.IResolvable storageSpace) {
this.props.storageSpace(storageSpace);
return this;
}
/**
* @return {@code this}
* @param storageType This parameter is required.
*/
public Builder storageType(final java.lang.String storageType) {
this.props.storageType(storageType);
return this;
}
/**
* @return {@code this}
* @param storageType This parameter is required.
*/
public Builder storageType(final com.aliyun.ros.cdk.core.IResolvable storageType) {
this.props.storageType(storageType);
return this;
}
/**
* @return {@code this}
* @param storageUpperBound This parameter is required.
*/
public Builder storageUpperBound(final java.lang.Number storageUpperBound) {
this.props.storageUpperBound(storageUpperBound);
return this;
}
/**
* @return {@code this}
* @param storageUpperBound This parameter is required.
*/
public Builder storageUpperBound(final com.aliyun.ros.cdk.core.IResolvable storageUpperBound) {
this.props.storageUpperBound(storageUpperBound);
return this;
}
/**
* @return {@code this}
* @param strictConsistency This parameter is required.
*/
public Builder strictConsistency(final java.lang.String strictConsistency) {
this.props.strictConsistency(strictConsistency);
return this;
}
/**
* @return {@code this}
* @param strictConsistency This parameter is required.
*/
public Builder strictConsistency(final com.aliyun.ros.cdk.core.IResolvable strictConsistency) {
this.props.strictConsistency(strictConsistency);
return this;
}
/**
* @return {@code this}
* @param tags This parameter is required.
*/
public Builder tags(final java.util.List extends com.aliyun.ros.cdk.polardb.RosDBCluster.TagsProperty> tags) {
this.props.tags(tags);
return this;
}
/**
* @return {@code this}
* @param tdeStatus This parameter is required.
*/
public Builder tdeStatus(final java.lang.Boolean tdeStatus) {
this.props.tdeStatus(tdeStatus);
return this;
}
/**
* @return {@code this}
* @param tdeStatus This parameter is required.
*/
public Builder tdeStatus(final com.aliyun.ros.cdk.core.IResolvable tdeStatus) {
this.props.tdeStatus(tdeStatus);
return this;
}
/**
* @return {@code this}
* @param vpcId This parameter is required.
*/
public Builder vpcId(final java.lang.String vpcId) {
this.props.vpcId(vpcId);
return this;
}
/**
* @return {@code this}
* @param vpcId This parameter is required.
*/
public Builder vpcId(final com.aliyun.ros.cdk.core.IResolvable vpcId) {
this.props.vpcId(vpcId);
return this;
}
/**
* @return {@code this}
* @param vSwitchId This parameter is required.
*/
public Builder vSwitchId(final java.lang.String vSwitchId) {
this.props.vSwitchId(vSwitchId);
return this;
}
/**
* @return {@code this}
* @param vSwitchId This parameter is required.
*/
public Builder vSwitchId(final com.aliyun.ros.cdk.core.IResolvable vSwitchId) {
this.props.vSwitchId(vSwitchId);
return this;
}
/**
* @return {@code this}
* @param zoneId This parameter is required.
*/
public Builder zoneId(final java.lang.String zoneId) {
this.props.zoneId(zoneId);
return this;
}
/**
* @return {@code this}
* @param zoneId This parameter is required.
*/
public Builder zoneId(final com.aliyun.ros.cdk.core.IResolvable zoneId) {
this.props.zoneId(zoneId);
return this;
}
/**
* @return a newly built instance of {@link com.aliyun.ros.cdk.polardb.RosDBCluster}.
*/
@Override
public com.aliyun.ros.cdk.polardb.RosDBCluster build() {
return new com.aliyun.ros.cdk.polardb.RosDBCluster(
this.scope,
this.id,
this.props.build(),
this.enableResourcePropertyConstraint
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy