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