UpgradeVersionProps
Properties for defining a UpgradeVersion.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-redis-upgradeversion
Initializer
import com.aliyun.ros.cdk.redis.UpgradeVersionProps;
UpgradeVersionProps.builder()
.instanceId(java.lang.String)
.instanceId(IResolvable)
// .autoUpgradeOpen(java.lang.Boolean)
// .autoUpgradeOpen(IResolvable)
// .effectiveTime(java.lang.String)
// .effectiveTime(IResolvable)
// .majorVersion(java.lang.String)
// .majorVersion(IResolvable)
// .minorVersion(java.lang.String)
// .minorVersion(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
instanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceId: The id of the instance. |
autoUpgradeOpen | java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable | Property autoUpgradeOpen: Whether to enable automatic upgrade. |
effectiveTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property effectiveTime: The time when the upgrade is effective. |
majorVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property majorVersion: Upgrade the major version of the instance. |
minorVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version. |
instanceIdRequired
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The id of the instance.
autoUpgradeOpenOptional
public java.lang.Object getAutoUpgradeOpen();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property autoUpgradeOpen: Whether to enable automatic upgrade.
effectiveTimeOptional
public java.lang.Object getEffectiveTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property effectiveTime: The time when the upgrade is effective.
Value: Immediately|MaintainTime, default: Immediately.
majorVersionOptional
public java.lang.Object getMajorVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property majorVersion: Upgrade the major version of the instance.
minorVersionOptional
public java.lang.Object getMinorVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property minorVersion: The minor version to be upgraded to, the default value is: latest_version, that is, the latest version.