/* * 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.appstream.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateApplicationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the application. This name is visible to users when display name is not specified. *
*/ private String name; /** ** The display name of the application. This name is visible to users in the application catalog. *
*/ private String displayName; /** ** The description of the application. *
*/ private String description; /** ** The icon S3 location of the application. *
*/ private S3Location iconS3Location; /** ** The launch path of the application. *
*/ private String launchPath; /** ** The working directory of the application. *
*/ private String workingDirectory; /** ** The launch parameters of the application. *
*/ private String launchParameters; /** ** The ARN of the app block. *
*/ private String appBlockArn; /** ** The attributes to delete for an application. *
*/ private java.util.List* The name of the application. This name is visible to users when display name is not specified. *
* * @param name * The name of the application. This name is visible to users when display name is not specified. */ public void setName(String name) { this.name = name; } /** ** The name of the application. This name is visible to users when display name is not specified. *
* * @return The name of the application. This name is visible to users when display name is not specified. */ public String getName() { return this.name; } /** ** The name of the application. This name is visible to users when display name is not specified. *
* * @param name * The name of the application. This name is visible to users when display name is not specified. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withName(String name) { setName(name); return this; } /** ** The display name of the application. This name is visible to users in the application catalog. *
* * @param displayName * The display name of the application. This name is visible to users in the application catalog. */ public void setDisplayName(String displayName) { this.displayName = displayName; } /** ** The display name of the application. This name is visible to users in the application catalog. *
* * @return The display name of the application. This name is visible to users in the application catalog. */ public String getDisplayName() { return this.displayName; } /** ** The display name of the application. This name is visible to users in the application catalog. *
* * @param displayName * The display name of the application. This name is visible to users in the application catalog. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withDisplayName(String displayName) { setDisplayName(displayName); return this; } /** ** The description of the application. *
* * @param description * The description of the application. */ public void setDescription(String description) { this.description = description; } /** ** The description of the application. *
* * @return The description of the application. */ public String getDescription() { return this.description; } /** ** The description of the application. *
* * @param description * The description of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withDescription(String description) { setDescription(description); return this; } /** ** The icon S3 location of the application. *
* * @param iconS3Location * The icon S3 location of the application. */ public void setIconS3Location(S3Location iconS3Location) { this.iconS3Location = iconS3Location; } /** ** The icon S3 location of the application. *
* * @return The icon S3 location of the application. */ public S3Location getIconS3Location() { return this.iconS3Location; } /** ** The icon S3 location of the application. *
* * @param iconS3Location * The icon S3 location of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withIconS3Location(S3Location iconS3Location) { setIconS3Location(iconS3Location); return this; } /** ** The launch path of the application. *
* * @param launchPath * The launch path of the application. */ public void setLaunchPath(String launchPath) { this.launchPath = launchPath; } /** ** The launch path of the application. *
* * @return The launch path of the application. */ public String getLaunchPath() { return this.launchPath; } /** ** The launch path of the application. *
* * @param launchPath * The launch path of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withLaunchPath(String launchPath) { setLaunchPath(launchPath); return this; } /** ** The working directory of the application. *
* * @param workingDirectory * The working directory of the application. */ public void setWorkingDirectory(String workingDirectory) { this.workingDirectory = workingDirectory; } /** ** The working directory of the application. *
* * @return The working directory of the application. */ public String getWorkingDirectory() { return this.workingDirectory; } /** ** The working directory of the application. *
* * @param workingDirectory * The working directory of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withWorkingDirectory(String workingDirectory) { setWorkingDirectory(workingDirectory); return this; } /** ** The launch parameters of the application. *
* * @param launchParameters * The launch parameters of the application. */ public void setLaunchParameters(String launchParameters) { this.launchParameters = launchParameters; } /** ** The launch parameters of the application. *
* * @return The launch parameters of the application. */ public String getLaunchParameters() { return this.launchParameters; } /** ** The launch parameters of the application. *
* * @param launchParameters * The launch parameters of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withLaunchParameters(String launchParameters) { setLaunchParameters(launchParameters); return this; } /** ** The ARN of the app block. *
* * @param appBlockArn * The ARN of the app block. */ public void setAppBlockArn(String appBlockArn) { this.appBlockArn = appBlockArn; } /** ** The ARN of the app block. *
* * @return The ARN of the app block. */ public String getAppBlockArn() { return this.appBlockArn; } /** ** The ARN of the app block. *
* * @param appBlockArn * The ARN of the app block. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateApplicationRequest withAppBlockArn(String appBlockArn) { setAppBlockArn(appBlockArn); return this; } /** ** The attributes to delete for an application. *
* * @return The attributes to delete for an application. * @see ApplicationAttribute */ public java.util.List* The attributes to delete for an application. *
* * @param attributesToDelete * The attributes to delete for an application. * @see ApplicationAttribute */ public void setAttributesToDelete(java.util.Collection* The attributes to delete for an application. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAttributesToDelete(java.util.Collection)} or {@link #withAttributesToDelete(java.util.Collection)} if * you want to override the existing values. *
* * @param attributesToDelete * The attributes to delete for an application. * @return Returns a reference to this object so that method calls can be chained together. * @see ApplicationAttribute */ public UpdateApplicationRequest withAttributesToDelete(String... attributesToDelete) { if (this.attributesToDelete == null) { setAttributesToDelete(new java.util.ArrayList* The attributes to delete for an application. *
* * @param attributesToDelete * The attributes to delete for an application. * @return Returns a reference to this object so that method calls can be chained together. * @see ApplicationAttribute */ public UpdateApplicationRequest withAttributesToDelete(java.util.Collection* The attributes to delete for an application. *
* * @param attributesToDelete * The attributes to delete for an application. * @return Returns a reference to this object so that method calls can be chained together. * @see ApplicationAttribute */ public UpdateApplicationRequest withAttributesToDelete(ApplicationAttribute... attributesToDelete) { java.util.ArrayList