DbAgentProps
Properties for defining a DbAgent.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-dbagent
Initializer
import com.aliyun.ros.cdk.hbr.DbAgentProps;
DbAgentProps.builder()
.instanceInfo(IResolvable)
.instanceInfo(java.util.List<IResolvable)
.instanceInfo(InstanceInfoProperty>)
// .crossAccountRoleName(java.lang.String)
// .crossAccountRoleName(IResolvable)
// .crossAccountType(java.lang.String)
// .crossAccountType(IResolvable)
// .crossAccountUserId(java.lang.Number)
// .crossAccountUserId(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
instanceInfo | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property instanceInfo: Instance infos. |
crossAccountRoleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property crossAccountRoleName: The RAM role name that the original account created for cross-account backup operations. |
crossAccountType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property crossAccountType: The type of cross-account backup. |
crossAccountUserId | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property crossAccountUserId: The user ID of the original account for cross-account backup operations. |
instanceInfoRequired
public java.lang.Object getInstanceInfo();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InstanceInfoProperty>
Property instanceInfo: Instance infos.
crossAccountRoleNameOptional
public java.lang.Object getCrossAccountRoleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property crossAccountRoleName: The RAM role name that the original account created for cross-account backup operations.
crossAccountTypeOptional
public java.lang.Object getCrossAccountType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property crossAccountType: The type of cross-account backup.
Supported values: SELF_ACCOUNT: backup within the same account; CROSS_ACCOUNT: cross-account backup. Example: CROSS_ACCOUNT
crossAccountUserIdOptional
public java.lang.Object getCrossAccountUserId();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property crossAccountUserId: The user ID of the original account for cross-account backup operations.