Interface LaunchConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LaunchConfig.Builder,
,LaunchConfig> SdkBuilder<LaunchConfig.Builder,
,LaunchConfig> SdkPojo
- Enclosing class:
LaunchConfig
-
Method Summary
Modifier and TypeMethodDescriptionIf you've specifiedGeneral
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.command
(Collection<String> command) If you've specifiedGeneral
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.environmentVariables
(Map<String, String> environmentVariables) The environment variables for the application launch.launchFile
(String launchFile) The launch file name.packageName
(String packageName) The package name.default LaunchConfig.Builder
portForwardingConfig
(Consumer<PortForwardingConfig.Builder> portForwardingConfig) The port forwarding configuration.portForwardingConfig
(PortForwardingConfig portForwardingConfig) The port forwarding configuration.Boolean indicating whether a streaming session will be configured for the application.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
packageName
The package name.
- Parameters:
packageName
- The package name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchFile
The launch file name.
- Parameters:
launchFile
- The launch file name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
The environment variables for the application launch.
- Parameters:
environmentVariables
- The environment variables for the application launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portForwardingConfig
The port forwarding configuration.
- Parameters:
portForwardingConfig
- The port forwarding configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portForwardingConfig
default LaunchConfig.Builder portForwardingConfig(Consumer<PortForwardingConfig.Builder> portForwardingConfig) The port forwarding configuration.
This is a convenience method that creates an instance of thePortForwardingConfig.Builder
avoiding the need to create one manually viaPortForwardingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportForwardingConfig(PortForwardingConfig)
.- Parameters:
portForwardingConfig
- a consumer that will call methods onPortForwardingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamUI
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.- Parameters:
streamUI
- Boolean indicating whether a streaming session will be configured for the application. IfTrue
, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
If you've specified
General
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntime
as the value for yourSimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.- Parameters:
command
- If you've specifiedGeneral
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntime
as the value for yourSimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
command
If you've specified
General
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntime
as the value for yourSimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.- Parameters:
command
- If you've specifiedGeneral
as the value for yourRobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntime
as the value for yourSimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-