Interface LaunchConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchConfig.Builder,LaunchConfig>,SdkBuilder<LaunchConfig.Builder,LaunchConfig>,SdkPojo
- Enclosing class:
- LaunchConfig
public static interface LaunchConfig.Builder extends SdkPojo, CopyableBuilder<LaunchConfig.Builder,LaunchConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LaunchConfig.Buildercommand(String... command)If you've specifiedGeneralas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.LaunchConfig.Buildercommand(Collection<String> command)If you've specifiedGeneralas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.LaunchConfig.BuilderenvironmentVariables(Map<String,String> environmentVariables)The environment variables for the application launch.LaunchConfig.BuilderlaunchFile(String launchFile)The launch file name.LaunchConfig.BuilderpackageName(String packageName)The package name.default LaunchConfig.BuilderportForwardingConfig(Consumer<PortForwardingConfig.Builder> portForwardingConfig)The port forwarding configuration.LaunchConfig.BuilderportForwardingConfig(PortForwardingConfig portForwardingConfig)The port forwarding configuration.LaunchConfig.BuilderstreamUI(Boolean streamUI)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 Detail
-
packageName
LaunchConfig.Builder packageName(String 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
LaunchConfig.Builder launchFile(String 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
LaunchConfig.Builder environmentVariables(Map<String,String> 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
LaunchConfig.Builder portForwardingConfig(PortForwardingConfig 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.Builderavoiding the need to create one manually viaPortForwardingConfig.builder().When the
Consumercompletes,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:
portForwardingConfig(PortForwardingConfig)
-
streamUI
LaunchConfig.Builder streamUI(Boolean 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
LaunchConfig.Builder command(Collection<String> command)
If you've specified
Generalas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntimeas the value for yourSimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.- Parameters:
command- If you've specifiedGeneralas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntimeas 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
LaunchConfig.Builder command(String... command)
If you've specified
Generalas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntimeas the value for yourSimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.- Parameters:
command- If you've specifiedGeneralas the value for yourRobotSoftwareSuite, you can use this field to specify a list of commands for your container image.If you've specified
SimulationRuntimeas 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.
-
-