Struct aws_sdk_robomaker::model::LaunchConfig
source · [−]#[non_exhaustive]pub struct LaunchConfig {
pub package_name: Option<String>,
pub launch_file: Option<String>,
pub environment_variables: Option<HashMap<String, String>>,
pub port_forwarding_config: Option<PortForwardingConfig>,
pub stream_ui: bool,
pub command: Option<Vec<String>>,
}
Expand description
Information about a launch configuration.
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.package_name: Option<String>
The package name.
launch_file: Option<String>
The launch file name.
environment_variables: Option<HashMap<String, String>>
The environment variables for the application launch.
port_forwarding_config: Option<PortForwardingConfig>
The port forwarding configuration.
stream_ui: bool
Boolean indicating whether a streaming session will be configured for the application. If True
, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.
command: Option<Vec<String>>
If you've specified General
as the value for your RobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.
If you've specified SimulationRuntime
as the value for your SimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.
Implementations
sourceimpl LaunchConfig
impl LaunchConfig
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The package name.
sourcepub fn launch_file(&self) -> Option<&str>
pub fn launch_file(&self) -> Option<&str>
The launch file name.
sourcepub fn environment_variables(&self) -> Option<&HashMap<String, String>>
pub fn environment_variables(&self) -> Option<&HashMap<String, String>>
The environment variables for the application launch.
sourcepub fn port_forwarding_config(&self) -> Option<&PortForwardingConfig>
pub fn port_forwarding_config(&self) -> Option<&PortForwardingConfig>
The port forwarding configuration.
sourcepub fn stream_ui(&self) -> bool
pub fn stream_ui(&self) -> bool
Boolean indicating whether a streaming session will be configured for the application. If True
, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.
sourcepub fn command(&self) -> Option<&[String]>
pub fn command(&self) -> Option<&[String]>
If you've specified General
as the value for your RobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.
If you've specified SimulationRuntime
as the value for your SimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.
sourceimpl LaunchConfig
impl LaunchConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchConfig
Trait Implementations
sourceimpl Clone for LaunchConfig
impl Clone for LaunchConfig
sourcefn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LaunchConfig
impl Debug for LaunchConfig
sourceimpl PartialEq<LaunchConfig> for LaunchConfig
impl PartialEq<LaunchConfig> for LaunchConfig
sourcefn eq(&self, other: &LaunchConfig) -> bool
fn eq(&self, other: &LaunchConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LaunchConfig) -> bool
fn ne(&self, other: &LaunchConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for LaunchConfig
Auto Trait Implementations
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnwindSafe for LaunchConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more