Struct aws_sdk_robomaker::types::Tool
source · #[non_exhaustive]pub struct Tool {
pub stream_ui: Option<bool>,
pub name: String,
pub command: String,
pub stream_output_to_cloud_watch: Option<bool>,
pub exit_behavior: Option<ExitBehavior>,
}Expand description
Information about a tool. Tools are used in a simulation job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stream_ui: Option<bool>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.
name: StringThe name of the tool.
command: StringCommand-line arguments for the tool. It must include the tool executable name.
stream_output_to_cloud_watch: Option<bool>Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
exit_behavior: Option<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.
Implementations§
source§impl Tool
impl Tool
sourcepub fn stream_ui(&self) -> Option<bool>
pub fn stream_ui(&self) -> Option<bool>
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.
sourcepub fn command(&self) -> &str
pub fn command(&self) -> &str
Command-line arguments for the tool. It must include the tool executable name.
sourcepub fn stream_output_to_cloud_watch(&self) -> Option<bool>
pub fn stream_output_to_cloud_watch(&self) -> Option<bool>
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
sourcepub fn exit_behavior(&self) -> Option<&ExitBehavior>
pub fn exit_behavior(&self) -> Option<&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.
Trait Implementations§
source§impl PartialEq for Tool
impl PartialEq for Tool
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnwindSafe for Tool
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more