DBInstancesProps
Properties for defining a DBInstances.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-dbinstances
Initializer
import com.aliyun.ros.cdk.rds.datasource.DBInstancesProps;
DBInstancesProps.builder()
// .connectionMode(java.lang.String)
// .connectionMode(IResolvable)
// .connectionString(java.lang.String)
// .connectionString(IResolvable)
// .dbInstanceClass(java.lang.String)
// .dbInstanceClass(IResolvable)
// .dbInstanceId(java.lang.String)
// .dbInstanceId(IResolvable)
// .dbInstanceStatus(java.lang.String)
// .dbInstanceStatus(IResolvable)
// .dbInstanceType(java.lang.String)
// .dbInstanceType(IResolvable)
// .dedicatedHostGroupId(java.lang.String)
// .dedicatedHostGroupId(IResolvable)
// .dedicatedHostId(java.lang.String)
// .dedicatedHostId(IResolvable)
// .engine(java.lang.String)
// .engine(IResolvable)
// .engineVersion(java.lang.String)
// .engineVersion(IResolvable)
// .expired(java.lang.String)
// .expired(IResolvable)
// .instanceLevel(java.lang.Number)
// .instanceLevel(IResolvable)
// .instanceNetworkType(java.lang.String)
// .instanceNetworkType(IResolvable)
// .payType(java.lang.String)
// .payType(IResolvable)
// .proxyId(java.lang.String)
// .proxyId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .searchKey(java.lang.String)
// .searchKey(IResolvable)
// .vpcId(java.lang.String)
// .vpcId(IResolvable)
// .vSwitchId(java.lang.String)
// .vSwitchId(IResolvable)
// .zoneId(java.lang.String)
// .zoneId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
connectionMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property connectionMode: The connection mode of the instance. |
connectionString | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property connectionString: The endpoint of the instance. |
dbInstanceClass | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceClass: The instance type of the instances. |
dbInstanceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceId: The ID of the instance. |
dbInstanceStatus | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceStatus: The status of the instances. |
dbInstanceType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dbInstanceType: The role of the instances. |
dedicatedHostGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dedicatedHostGroupId: The ID of the dedicated cluster to which the instances belong. |
dedicatedHostId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dedicatedHostId: The ID of the host to which the instances belong in the specified dedicated cluster. |
engine | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property engine: The database engine that is run by the instances. |
engineVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property engineVersion: The version of the database engine that is run by the instances. |
expired | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property expired: Specifies whether the instances have expired. |
instanceLevel | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property instanceLevel: Specifies whether to return the RDS editions of the instances by using the Category parameter. |
instanceNetworkType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property instanceNetworkType: The network type of the instances. |
payType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property payType: The billing method of the instances. |
proxyId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property proxyId: The ID of the proxy mode. |
refreshOptions | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The ID of the resource group to which the instances belong. |
searchKey | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property searchKey: The keywords that are contained in the IDs or descriptions of the instances. |
vpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vpcId: The ID of the virtual private cloud (VPC) to which the instances belong. |
vSwitchId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vSwitchId: The ID of the vSwitch that is associated with the specified VPC. |
zoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property zoneId: The ID of the zone to which the instances belong. |
connectionModeOptional
public java.lang.Object getConnectionMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property connectionMode: The connection mode of the instance.
connectionStringOptional
public java.lang.Object getConnectionString();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property connectionString: The endpoint of the instance.
dbInstanceClassOptional
public java.lang.Object getDbInstanceClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceClass: The instance type of the instances.
dbInstanceIdOptional
public java.lang.Object getDbInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceId: The ID of the instance.
dbInstanceStatusOptional
public java.lang.Object getDbInstanceStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceStatus: The status of the instances.
dbInstanceTypeOptional
public java.lang.Object getDbInstanceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dbInstanceType: The role of the instances.
dedicatedHostGroupIdOptional
public java.lang.Object getDedicatedHostGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostGroupId: The ID of the dedicated cluster to which the instances belong.
dedicatedHostIdOptional
public java.lang.Object getDedicatedHostId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dedicatedHostId: The ID of the host to which the instances belong in the specified dedicated cluster.
engineOptional
public java.lang.Object getEngine();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property engine: The database engine that is run by the instances.
engineVersionOptional
public java.lang.Object getEngineVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property engineVersion: The version of the database engine that is run by the instances.
expiredOptional
public java.lang.Object getExpired();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property expired: Specifies whether the instances have expired.
instanceLevelOptional
public java.lang.Object getInstanceLevel();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property instanceLevel: Specifies whether to return the RDS editions of the instances by using the Category parameter.
instanceNetworkTypeOptional
public java.lang.Object getInstanceNetworkType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceNetworkType: The network type of the instances.
payTypeOptional
public java.lang.Object getPayType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property payType: The billing method of the instances.
proxyIdOptional
public java.lang.Object getProxyId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property proxyId: The ID of the proxy mode.
refreshOptionsOptional
public java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
resourceGroupIdOptional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The ID of the resource group to which the instances belong.
searchKeyOptional
public java.lang.Object getSearchKey();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property searchKey: The keywords that are contained in the IDs or descriptions of the instances.
vpcIdOptional
public java.lang.Object getVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the instances belong.
vSwitchIdOptional
public java.lang.Object getVSwitchId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vSwitchId: The ID of the vSwitch that is associated with the specified VPC.
zoneIdOptional
public java.lang.Object getZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property zoneId: The ID of the zone to which the instances belong.