Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
- CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappBlockArn(String appBlockArn) Sets the value ofCfnApplicationProps.getAppBlockArn()attributesToDelete(List<String> attributesToDelete) Sets the value ofCfnApplicationProps.getAttributesToDelete()build()Builds the configured instance.description(String description) Sets the value ofCfnApplicationProps.getDescription()displayName(String displayName) Sets the value ofCfnApplicationProps.getDisplayName()iconS3Location(IResolvable iconS3Location) Sets the value ofCfnApplicationProps.getIconS3Location()iconS3Location(CfnApplication.S3LocationProperty iconS3Location) Sets the value ofCfnApplicationProps.getIconS3Location()instanceFamilies(List<String> instanceFamilies) Sets the value ofCfnApplicationProps.getInstanceFamilies()launchParameters(String launchParameters) Sets the value ofCfnApplicationProps.getLaunchParameters()launchPath(String launchPath) Sets the value ofCfnApplicationProps.getLaunchPath()Sets the value ofCfnApplicationProps.getName()Sets the value ofCfnApplicationProps.getPlatforms()Sets the value ofCfnApplicationProps.getTags()workingDirectory(String workingDirectory) Sets the value ofCfnApplicationProps.getWorkingDirectory()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appBlockArn
Sets the value ofCfnApplicationProps.getAppBlockArn()- Parameters:
appBlockArn- The app block ARN with which the application should be associated. This parameter is required.- Returns:
this
-
iconS3Location
Sets the value ofCfnApplicationProps.getIconS3Location()- Parameters:
iconS3Location- The icon S3 location of the application. This parameter is required.- Returns:
this
-
iconS3Location
@Stability(Stable) public CfnApplicationProps.Builder iconS3Location(CfnApplication.S3LocationProperty iconS3Location) Sets the value ofCfnApplicationProps.getIconS3Location()- Parameters:
iconS3Location- The icon S3 location of the application. This parameter is required.- Returns:
this
-
instanceFamilies
@Stability(Stable) public CfnApplicationProps.Builder instanceFamilies(List<String> instanceFamilies) Sets the value ofCfnApplicationProps.getInstanceFamilies()- Parameters:
instanceFamilies- The instance families the application supports. This parameter is required. Allowed Values :GENERAL_PURPOSE|GRAPHICS_G4- Returns:
this
-
launchPath
Sets the value ofCfnApplicationProps.getLaunchPath()- Parameters:
launchPath- The launch path of the application. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnApplicationProps.getName()- Parameters:
name- The name of the application. This parameter is required. This name is visible to users when a name is not specified in the DisplayName property.Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$- Returns:
this
-
platforms
Sets the value ofCfnApplicationProps.getPlatforms()- Parameters:
platforms- The platforms the application supports. This parameter is required. Allowed Values :WINDOWS_SERVER_2019|AMAZON_LINUX2- Returns:
this
-
attributesToDelete
@Stability(Stable) public CfnApplicationProps.Builder attributesToDelete(List<String> attributesToDelete) Sets the value ofCfnApplicationProps.getAttributesToDelete()- Parameters:
attributesToDelete- A list of attributes to delete from an application.- Returns:
this
-
description
Sets the value ofCfnApplicationProps.getDescription()- Parameters:
description- The description of the application.- Returns:
this
-
displayName
Sets the value ofCfnApplicationProps.getDisplayName()- Parameters:
displayName- The display name of the application. This name is visible to users in the application catalog.- Returns:
this
-
launchParameters
Sets the value ofCfnApplicationProps.getLaunchParameters()- Parameters:
launchParameters- The launch parameters of the application.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- The tags of the application.- Returns:
this
-
workingDirectory
Sets the value ofCfnApplicationProps.getWorkingDirectory()- Parameters:
workingDirectory- The working directory of the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
- a new instance of
CfnApplicationProps - Throws:
NullPointerException- if any required attribute was not provided
-