Class Tool
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.Tool
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Tool.Builder,Tool>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTool.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Tool.Builderbuilder()Stringcommand()Command-line arguments for the tool.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExitBehaviorexitBehavior()Exit behavior determines what happens when your tool quits running.StringexitBehaviorAsString()Exit behavior determines what happens when your tool quits running.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the tool.List<SdkField<?>>sdkFields()static Class<? extends Tool.Builder>serializableBuilderClass()BooleanstreamOutputToCloudWatch()Boolean indicating whether logs will be recorded in CloudWatch for the tool.BooleanstreamUI()Boolean indicating whether a streaming session will be configured for the tool.Tool.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
streamUI
public 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 isFalse.- Returns:
- 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 isFalse.
-
name
public final String name()
The name of the tool.
- Returns:
- The name of the tool.
-
command
public final String command()
Command-line arguments for the tool. It must include the tool executable name.
- Returns:
- Command-line arguments for the tool. It must include the tool executable name.
-
streamOutputToCloudWatch
public final Boolean streamOutputToCloudWatch()
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is
False.- Returns:
- Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is
False.
-
exitBehavior
public final ExitBehavior exitBehavior()
Exit behavior determines what happens when your tool quits running.
RESTARTwill cause your tool to be restarted.FAILwill cause your job to exit. The default isRESTART.If the service returns an enum value that is not available in the current SDK version,
exitBehaviorwill returnExitBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexitBehaviorAsString().- Returns:
- Exit behavior determines what happens when your tool quits running.
RESTARTwill cause your tool to be restarted.FAILwill cause your job to exit. The default isRESTART. - See Also:
ExitBehavior
-
exitBehaviorAsString
public final String exitBehaviorAsString()
Exit behavior determines what happens when your tool quits running.
RESTARTwill cause your tool to be restarted.FAILwill cause your job to exit. The default isRESTART.If the service returns an enum value that is not available in the current SDK version,
exitBehaviorwill returnExitBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexitBehaviorAsString().- Returns:
- Exit behavior determines what happens when your tool quits running.
RESTARTwill cause your tool to be restarted.FAILwill cause your job to exit. The default isRESTART. - See Also:
ExitBehavior
-
toBuilder
public Tool.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Tool.Builder,Tool>
-
builder
public static Tool.Builder builder()
-
serializableBuilderClass
public static Class<? extends Tool.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-