Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionappBlockArn
(String appBlockArn) The app block ARN to which the application should be associateddescription
(String description) The description of the application.displayName
(String displayName) The display name of the application.default CreateApplicationRequest.Builder
iconS3Location
(Consumer<S3Location.Builder> iconS3Location) The location in S3 of the application icon.iconS3Location
(S3Location iconS3Location) The location in S3 of the application icon.instanceFamilies
(String... instanceFamilies) The instance families the application supports.instanceFamilies
(Collection<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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.platforms
(Collection<PlatformType> platforms) The platforms the application supports.platforms
(PlatformType... platforms) The platforms the application supports.platformsWithStrings
(String... platforms) The platforms the application supports.platformsWithStrings
(Collection<String> platforms) The platforms the application supports.The tags assigned to the application.workingDirectory
(String workingDirectory) The working directory of the application.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the application. This name is visible to users when display name is not specified.
- Parameters:
name
- The name of the application. This name is visible to users when display name is not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 name is visible to users in the application catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the application.
- Parameters:
description
- The description of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iconS3Location
The location in S3 of the application icon.
- Parameters:
iconS3Location
- The location in S3 of the application icon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iconS3Location
default CreateApplicationRequest.Builder iconS3Location(Consumer<S3Location.Builder> iconS3Location) The location in S3 of the application icon.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiconS3Location(S3Location)
.- Parameters:
iconS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchPath
The launch path of the application.
- Parameters:
launchPath
- The launch path of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workingDirectory
The working directory of the application.
- Parameters:
workingDirectory
- The working directory of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchParameters
The launch parameters of the application.
- Parameters:
launchParameters
- The launch parameters of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformsWithStrings
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
- Parameters:
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformsWithStrings
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
- Parameters:
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
- Parameters:
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platforms
The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
- Parameters:
platforms
- The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilies
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
- Parameters:
instanceFamilies
- The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilies
The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
- Parameters:
instanceFamilies
- The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appBlockArn
The app block ARN to which the application should be associated
- Parameters:
appBlockArn
- The app block ARN to which the application should be associated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the application.
- Parameters:
tags
- The tags assigned to the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-