@Generated(value="software.amazon.awssdk:codegen") public final class Tool extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tool.Builder,Tool>
Information about a tool. Tools are used in a simulation job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Tool.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Tool.Builder |
builder() |
String |
command()
Command-line arguments for the tool.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExitBehavior |
exitBehavior()
Exit behavior determines what happens when your tool quits running.
|
String |
exitBehaviorAsString()
Exit behavior determines what happens when your tool quits running.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the tool.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tool.Builder> |
serializableBuilderClass() |
Boolean |
streamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool.
|
Boolean |
streamUI()
Boolean indicating whether a streaming session will be configured for the tool.
|
Tool.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 final String name()
The name of the tool.
public final String command()
Command-line arguments for the tool. It must include the tool executable name.
public final Boolean streamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
False.public final 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.
If the service returns an enum value that is not available in the current SDK version, exitBehavior will
return ExitBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
exitBehaviorAsString().
RESTART will cause your
tool to be restarted. FAIL will cause your job to exit. The default is RESTART.ExitBehaviorpublic final String exitBehaviorAsString()
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.
If the service returns an enum value that is not available in the current SDK version, exitBehavior will
return ExitBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
exitBehaviorAsString().
RESTART will cause your
tool to be restarted. FAIL will cause your job to exit. The default is RESTART.ExitBehaviorpublic Tool.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Tool.Builder,Tool>public static Tool.Builder builder()
public static Class<? extends Tool.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.