@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Tool extends Object implements Serializable, Cloneable, StructuredPojo
Information about a tool. Tools are used in a simulation job.
Constructor and Description |
---|
Tool() |
Modifier and Type | Method and Description |
---|---|
Tool |
clone() |
boolean |
equals(Object obj) |
String |
getCommand()
Command-line arguments for the tool.
|
String |
getExitBehavior()
Exit behavior determines what happens when your tool quits running.
|
String |
getName()
The name of the tool.
|
Boolean |
getStreamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool.
|
Boolean |
getStreamUI()
Boolean indicating whether a streaming session will be configured for the tool.
|
int |
hashCode() |
Boolean |
isStreamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool.
|
Boolean |
isStreamUI()
Boolean indicating whether a streaming session will be configured for the tool.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommand(String command)
Command-line arguments for the tool.
|
void |
setExitBehavior(String exitBehavior)
Exit behavior determines what happens when your tool quits running.
|
void |
setName(String name)
The name of the tool.
|
void |
setStreamOutputToCloudWatch(Boolean streamOutputToCloudWatch)
Boolean indicating whether logs will be recorded in CloudWatch for the tool.
|
void |
setStreamUI(Boolean streamUI)
Boolean indicating whether a streaming session will be configured for the tool.
|
String |
toString()
Returns a string representation of this object.
|
Tool |
withCommand(String command)
Command-line arguments for the tool.
|
Tool |
withExitBehavior(ExitBehavior exitBehavior)
Exit behavior determines what happens when your tool quits running.
|
Tool |
withExitBehavior(String exitBehavior)
Exit behavior determines what happens when your tool quits running.
|
Tool |
withName(String name)
The name of the tool.
|
Tool |
withStreamOutputToCloudWatch(Boolean streamOutputToCloudWatch)
Boolean indicating whether logs will be recorded in CloudWatch for the tool.
|
Tool |
withStreamUI(Boolean streamUI)
Boolean indicating whether a streaming session will be configured for the tool.
|
public void setStreamUI(Boolean streamUI)
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It
must have a graphical user interface. The default is False
.
streamUI
- Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the
simulation. It must have a graphical user interface. The default is False
.public Boolean getStreamUI()
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It
must have a graphical user interface. The default is False
.
True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the
simulation. It must have a graphical user interface. The default is False
.public Tool withStreamUI(Boolean streamUI)
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It
must have a graphical user interface. The default is False
.
streamUI
- Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the
simulation. It must have a graphical user interface. The default is False
.public Boolean isStreamUI()
Boolean indicating whether a streaming session will be configured for the tool. If True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It
must have a graphical user interface. The default is False
.
True
, AWS
RoboMaker will configure a connection so you can interact with the tool as it is running in the
simulation. It must have a graphical user interface. The default is False
.public void setName(String name)
The name of the tool.
name
- The name of the tool.public String getName()
The name of the tool.
public Tool withName(String name)
The name of the tool.
name
- The name of the tool.public void setCommand(String command)
Command-line arguments for the tool. It must include the tool executable name.
command
- Command-line arguments for the tool. It must include the tool executable name.public String getCommand()
Command-line arguments for the tool. It must include the tool executable name.
public Tool withCommand(String command)
Command-line arguments for the tool. It must include the tool executable name.
command
- Command-line arguments for the tool. It must include the tool executable name.public void setStreamOutputToCloudWatch(Boolean streamOutputToCloudWatch)
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
streamOutputToCloudWatch
- Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is
False
.public Boolean getStreamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
False
.public Tool withStreamOutputToCloudWatch(Boolean streamOutputToCloudWatch)
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
streamOutputToCloudWatch
- Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is
False
.public Boolean isStreamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False
.
False
.public void setExitBehavior(String exitBehavior)
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to
be restarted. FAIL
will cause your job to exit. The default is RESTART
.
exitBehavior
- Exit behavior determines what happens when your tool quits running. RESTART
will cause your
tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.ExitBehavior
public String getExitBehavior()
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to
be restarted. FAIL
will cause your job to exit. The default is RESTART
.
RESTART
will cause your
tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.ExitBehavior
public Tool withExitBehavior(String exitBehavior)
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to
be restarted. FAIL
will cause your job to exit. The default is RESTART
.
exitBehavior
- Exit behavior determines what happens when your tool quits running. RESTART
will cause your
tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.ExitBehavior
public Tool withExitBehavior(ExitBehavior exitBehavior)
Exit behavior determines what happens when your tool quits running. RESTART
will cause your tool to
be restarted. FAIL
will cause your job to exit. The default is RESTART
.
exitBehavior
- Exit behavior determines what happens when your tool quits running. RESTART
will cause your
tool to be restarted. FAIL
will cause your job to exit. The default is RESTART
.ExitBehavior
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.