Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication
.-
Method Summary
Modifier and TypeMethodDescriptionappBlockArn
(String appBlockArn) The app block ARN with which the application should be associated.attributesToDelete
(List<String> attributesToDelete) A list of attributes to delete from an application.build()
static CfnApplication.Builder
description
(String description) The description of the application.displayName
(String displayName) The display name of the application.iconS3Location
(IResolvable iconS3Location) The icon S3 location of the application.iconS3Location
(CfnApplication.S3LocationProperty iconS3Location) The icon S3 location of the application.instanceFamilies
(List<String> instanceFamilies) The instance families the application supports.launchParameters
(String launchParameters) The launch parameters of the application.launchPath
(String launchPath) The launch path of the application.The name of the application.The platforms the application supports.The tags of the application.workingDirectory
(String workingDirectory) The working directory of the application.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplication.Builder
.
-
appBlockArn
The app block ARN with which the application should be associated.- Parameters:
appBlockArn
- The app block ARN with which the application should be associated. This parameter is required.- Returns:
this
- See Also:
-
iconS3Location
The icon S3 location of the application.- Parameters:
iconS3Location
- The icon S3 location of the application. This parameter is required.- Returns:
this
- See Also:
-
iconS3Location
@Stability(Stable) public CfnApplication.Builder iconS3Location(CfnApplication.S3LocationProperty iconS3Location) The icon S3 location of the application.- Parameters:
iconS3Location
- The icon S3 location of the application. This parameter is required.- Returns:
this
- See Also:
-
instanceFamilies
The instance families the application supports.Allowed Values :
GENERAL_PURPOSE
|GRAPHICS_G4
- Parameters:
instanceFamilies
- The instance families the application supports. This parameter is required.- Returns:
this
- See Also:
-
launchPath
The launch path of the application.- Parameters:
launchPath
- The launch path of the application. This parameter is required.- Returns:
this
- See Also:
-
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}$
- Parameters:
name
- The name of the application. This parameter is required.- Returns:
this
- See Also:
-
platforms
The platforms the application supports.Allowed Values :
WINDOWS_SERVER_2019
|AMAZON_LINUX2
- Parameters:
platforms
- The platforms the application supports. This parameter is required.- Returns:
this
- See Also:
-
attributesToDelete
@Stability(Stable) public CfnApplication.Builder attributesToDelete(List<String> attributesToDelete) A list of attributes to delete from an application.- Parameters:
attributesToDelete
- A list of attributes to delete from an application. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the application.- Parameters:
description
- The description of the application. This parameter is required.- Returns:
this
- See Also:
-
displayName
The display name of the application.This name is visible to users in the application catalog.
- Parameters:
displayName
- The display name of the application. This parameter is required.- Returns:
this
- See Also:
-
launchParameters
The launch parameters of the application.- Parameters:
launchParameters
- The launch parameters of the application. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags of the application.- Parameters:
tags
- The tags of the application. This parameter is required.- Returns:
this
- See Also:
-
workingDirectory
The working directory of the application.- Parameters:
workingDirectory
- The working directory of the application. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication>
- Returns:
- a newly built instance of
CfnApplication
.
-