RunCommandProps
Properties for defining a RunCommand.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-runcommand
Initializer
import com.aliyun.ros.cdk.cloudphone.RunCommandProps;
RunCommandProps.builder()
.command(java.lang.String)
.command(IResolvable)
.instanceIds(IResolvable)
.instanceIds(java.util.List<java.lang.String)
.instanceIds(IResolvable>)
// .runAgainOn(IResolvable)
// .runAgainOn(java.util.List<java.lang.String)
// .runAgainOn(IResolvable>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
command | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property command: The command that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-). |
instanceIds | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property instanceIds: ID of the instance executing the command. |
runAgainOn | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property runAgainOn: The stage of executing the command again. |
commandRequired
public java.lang.Object getCommand();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property command: The command that you want to run.\ The name can be up to 1024 bytes in length and can contain only letters, digits, underscores (_), periods (.), slashes (\/), colons (:), and hyphens (-).
instanceIdsRequired
public java.lang.Object getInstanceIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property instanceIds: ID of the instance executing the command.
Range of n: 1 ~ 10
runAgainOnOptional
public java.lang.Object getRunAgainOn();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property runAgainOn: The stage of executing the command again.