Struct aws_sdk_robomaker::types::builders::ToolBuilder
source · #[non_exhaustive]pub struct ToolBuilder { /* private fields */ }Expand description
A builder for Tool.
Implementations§
source§impl ToolBuilder
impl ToolBuilder
sourcepub fn stream_ui(self, input: bool) -> Self
pub fn stream_ui(self, input: bool) -> Self
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 set_stream_ui(self, input: Option<bool>) -> Self
pub fn set_stream_ui(self, input: Option<bool>) -> Self
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 get_stream_ui(&self) -> &Option<bool>
pub fn get_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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the tool.
This field is required.sourcepub fn command(self, input: impl Into<String>) -> Self
pub fn command(self, input: impl Into<String>) -> Self
Command-line arguments for the tool. It must include the tool executable name.
This field is required.sourcepub fn set_command(self, input: Option<String>) -> Self
pub fn set_command(self, input: Option<String>) -> Self
Command-line arguments for the tool. It must include the tool executable name.
sourcepub fn get_command(&self) -> &Option<String>
pub fn get_command(&self) -> &Option<String>
Command-line arguments for the tool. It must include the tool executable name.
sourcepub fn stream_output_to_cloud_watch(self, input: bool) -> Self
pub fn stream_output_to_cloud_watch(self, input: bool) -> Self
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
sourcepub fn set_stream_output_to_cloud_watch(self, input: Option<bool>) -> Self
pub fn set_stream_output_to_cloud_watch(self, input: Option<bool>) -> Self
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
sourcepub fn get_stream_output_to_cloud_watch(&self) -> &Option<bool>
pub fn get_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, input: ExitBehavior) -> Self
pub fn exit_behavior(self, input: ExitBehavior) -> Self
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.
sourcepub fn set_exit_behavior(self, input: Option<ExitBehavior>) -> Self
pub fn set_exit_behavior(self, input: Option<ExitBehavior>) -> Self
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.
sourcepub fn get_exit_behavior(&self) -> &Option<ExitBehavior>
pub fn get_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 Clone for ToolBuilder
impl Clone for ToolBuilder
source§fn clone(&self) -> ToolBuilder
fn clone(&self) -> ToolBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ToolBuilder
impl Debug for ToolBuilder
source§impl Default for ToolBuilder
impl Default for ToolBuilder
source§fn default() -> ToolBuilder
fn default() -> ToolBuilder
source§impl PartialEq for ToolBuilder
impl PartialEq for ToolBuilder
source§fn eq(&self, other: &ToolBuilder) -> bool
fn eq(&self, other: &ToolBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ToolBuilder
Auto Trait Implementations§
impl Freeze for ToolBuilder
impl RefUnwindSafe for ToolBuilder
impl Send for ToolBuilder
impl Sync for ToolBuilder
impl Unpin for ToolBuilder
impl UnwindSafe for ToolBuilder
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