/* * 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; /** *
* Configuration information for a deployment launch. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DeploymentLaunchConfig implements Serializable, Cloneable, StructuredPojo { /** ** The package name. *
*/ private String packageName; /** ** The deployment pre-launch file. This file will be executed prior to the launch file. *
*/ private String preLaunchFile; /** ** The launch file name. *
*/ private String launchFile; /** ** The deployment post-launch file. This file will be executed after the launch file. *
*/ private String postLaunchFile; /** ** An array of key/value pairs specifying environment variables for the robot application *
*/ private java.util.Map* 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 DeploymentLaunchConfig withPackageName(String packageName) { setPackageName(packageName); return this; } /** ** The deployment pre-launch file. This file will be executed prior to the launch file. *
* * @param preLaunchFile * The deployment pre-launch file. This file will be executed prior to the launch file. */ public void setPreLaunchFile(String preLaunchFile) { this.preLaunchFile = preLaunchFile; } /** ** The deployment pre-launch file. This file will be executed prior to the launch file. *
* * @return The deployment pre-launch file. This file will be executed prior to the launch file. */ public String getPreLaunchFile() { return this.preLaunchFile; } /** ** The deployment pre-launch file. This file will be executed prior to the launch file. *
* * @param preLaunchFile * The deployment pre-launch file. This file will be executed prior to the launch file. * @return Returns a reference to this object so that method calls can be chained together. */ public DeploymentLaunchConfig withPreLaunchFile(String preLaunchFile) { setPreLaunchFile(preLaunchFile); 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 DeploymentLaunchConfig withLaunchFile(String launchFile) { setLaunchFile(launchFile); return this; } /** ** The deployment post-launch file. This file will be executed after the launch file. *
* * @param postLaunchFile * The deployment post-launch file. This file will be executed after the launch file. */ public void setPostLaunchFile(String postLaunchFile) { this.postLaunchFile = postLaunchFile; } /** ** The deployment post-launch file. This file will be executed after the launch file. *
* * @return The deployment post-launch file. This file will be executed after the launch file. */ public String getPostLaunchFile() { return this.postLaunchFile; } /** ** The deployment post-launch file. This file will be executed after the launch file. *
* * @param postLaunchFile * The deployment post-launch file. This file will be executed after the launch file. * @return Returns a reference to this object so that method calls can be chained together. */ public DeploymentLaunchConfig withPostLaunchFile(String postLaunchFile) { setPostLaunchFile(postLaunchFile); return this; } /** ** An array of key/value pairs specifying environment variables for the robot application *
* * @return An array of key/value pairs specifying environment variables for the robot application */ public java.util.Map* An array of key/value pairs specifying environment variables for the robot application *
* * @param environmentVariables * An array of key/value pairs specifying environment variables for the robot application */ public void setEnvironmentVariables(java.util.Map* An array of key/value pairs specifying environment variables for the robot application *
* * @param environmentVariables * An array of key/value pairs specifying environment variables for the robot application * @return Returns a reference to this object so that method calls can be chained together. */ public DeploymentLaunchConfig withEnvironmentVariables(java.util.Map