/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.robomaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about a launch configuration. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class LaunchConfig implements Serializable, Cloneable, StructuredPojo { /** ** The package name. *
*/ private String packageName; /** ** The launch file name. *
*/ private String launchFile; /** ** The environment variables for the application launch. *
*/ private java.util.Map* The port forwarding configuration. *
*/ private PortForwardingConfig portForwardingConfig; /** *
* 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.
*
* 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.
*
* The package name. *
* * @param packageName * The package name. */ public void setPackageName(String packageName) { this.packageName = packageName; } /** ** The package name. *
* * @return The package name. */ public String getPackageName() { return this.packageName; } /** ** The package name. *
* * @param packageName * The package name. * @return Returns a reference to this object so that method calls can be chained together. */ public LaunchConfig withPackageName(String packageName) { setPackageName(packageName); return this; } /** ** The launch file name. *
* * @param launchFile * The launch file name. */ public void setLaunchFile(String launchFile) { this.launchFile = launchFile; } /** ** The launch file name. *
* * @return The launch file name. */ public String getLaunchFile() { return this.launchFile; } /** ** The launch file name. *
* * @param launchFile * The launch file name. * @return Returns a reference to this object so that method calls can be chained together. */ public LaunchConfig withLaunchFile(String launchFile) { setLaunchFile(launchFile); return this; } /** ** The environment variables for the application launch. *
* * @return The environment variables for the application launch. */ public java.util.Map* The environment variables for the application launch. *
* * @param environmentVariables * The environment variables for the application launch. */ public void setEnvironmentVariables(java.util.Map* The environment variables for the application launch. *
* * @param environmentVariables * The environment variables for the application launch. * @return Returns a reference to this object so that method calls can be chained together. */ public LaunchConfig withEnvironmentVariables(java.util.Map* The port forwarding configuration. *
* * @param portForwardingConfig * The port forwarding configuration. */ public void setPortForwardingConfig(PortForwardingConfig portForwardingConfig) { this.portForwardingConfig = portForwardingConfig; } /** ** The port forwarding configuration. *
* * @return The port forwarding configuration. */ public PortForwardingConfig getPortForwardingConfig() { return this.portForwardingConfig; } /** ** The port forwarding configuration. *
* * @param portForwardingConfig * The port forwarding configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public LaunchConfig withPortForwardingConfig(PortForwardingConfig portForwardingConfig) { setPortForwardingConfig(portForwardingConfig); return this; } /** *
* 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.
*
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.
*/
public void setStreamUI(Boolean streamUI) {
this.streamUI = 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.
*
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.
*/
public Boolean getStreamUI() {
return this.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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LaunchConfig withStreamUI(Boolean streamUI) {
setStreamUI(streamUI);
return this;
}
/**
*
* 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.
*
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.
*/
public Boolean isStreamUI() {
return this.streamUI;
}
/**
*
* 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.
*
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
* If you've specified
* 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.
*/
public java.util.ListGeneral
as the value for your RobotSoftwareSuite
, you can use this
* field to specify a list of commands for your container image.
* SimulationRuntime
as the value for your SimulationSoftwareSuite
,
* you can use this field to specify a list of commands for your container image.
* 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
* If you've specified
* If you've specified
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setCommand(java.util.Collection)} or {@link #withCommand(java.util.Collection)} if you want to override
* the existing values.
* SimulationRuntime
as the value for your
* SimulationSoftwareSuite
, you can use this field to specify a list of commands for your
* container image.
*/
public void setCommand(java.util.CollectionGeneral
as the value for your RobotSoftwareSuite
, you can use this
* field to specify a list of commands for your container image.
* SimulationRuntime
as the value for your SimulationSoftwareSuite
,
* you can use this field to specify a list of commands for your container image.
* 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
* If you've specified
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LaunchConfig withCommand(String... command) {
if (this.command == null) {
setCommand(new java.util.ArrayListGeneral
as the value for your RobotSoftwareSuite
, you can use this
* field to specify a list of commands for your container image.
* SimulationRuntime
as the value for your SimulationSoftwareSuite
,
* you can use this field to specify a list of commands for your container image.
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LaunchConfig withCommand(java.util.Collection