Class CfnLaunchProfile.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnLaunchProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchProfile>
- Enclosing class:
- CfnLaunchProfile
@Stability(Stable)
public static final class CfnLaunchProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchProfile>
A fluent builder for
CfnLaunchProfile
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnLaunchProfile.Builder
description
(String description) A human-readable description of the launch profile.ec2SubnetIds
(List<String> ec2SubnetIds) Unique identifiers for a collection of EC2 subnets.launchProfileProtocolVersions
(List<String> launchProfileProtocolVersions) The version number of the protocol that is used by the launch profile.A friendly name for the launch profile.streamConfiguration
(IResolvable streamConfiguration) A configuration for a streaming session.streamConfiguration
(CfnLaunchProfile.StreamConfigurationProperty streamConfiguration) A configuration for a streaming session.studioComponentIds
(List<String> studioComponentIds) Unique identifiers for a collection of studio components that can be used with this launch profile.The unique identifier for a studio resource.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnLaunchProfile.Builder
.
-
ec2SubnetIds
Unique identifiers for a collection of EC2 subnets.- Parameters:
ec2SubnetIds
- Unique identifiers for a collection of EC2 subnets. This parameter is required.- Returns:
this
-
launchProfileProtocolVersions
@Stability(Stable) public CfnLaunchProfile.Builder launchProfileProtocolVersions(List<String> launchProfileProtocolVersions) The version number of the protocol that is used by the launch profile.The only valid version is "2021-03-31".
- Parameters:
launchProfileProtocolVersions
- The version number of the protocol that is used by the launch profile. This parameter is required.- Returns:
this
-
name
A friendly name for the launch profile.- Parameters:
name
- A friendly name for the launch profile. This parameter is required.- Returns:
this
-
streamConfiguration
@Stability(Stable) public CfnLaunchProfile.Builder streamConfiguration(CfnLaunchProfile.StreamConfigurationProperty streamConfiguration) A configuration for a streaming session.- Parameters:
streamConfiguration
- A configuration for a streaming session. This parameter is required.- Returns:
this
-
streamConfiguration
@Stability(Stable) public CfnLaunchProfile.Builder streamConfiguration(IResolvable streamConfiguration) A configuration for a streaming session.- Parameters:
streamConfiguration
- A configuration for a streaming session. This parameter is required.- Returns:
this
-
studioComponentIds
@Stability(Stable) public CfnLaunchProfile.Builder studioComponentIds(List<String> studioComponentIds) Unique identifiers for a collection of studio components that can be used with this launch profile.- Parameters:
studioComponentIds
- Unique identifiers for a collection of studio components that can be used with this launch profile. This parameter is required.- Returns:
this
-
studioId
The unique identifier for a studio resource.In Nimble Studio , all other resources are contained in a studio resource.
- Parameters:
studioId
- The unique identifier for a studio resource. This parameter is required.- Returns:
this
-
description
A human-readable description of the launch profile.- Parameters:
description
- A human-readable description of the launch profile. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchProfile>
- Returns:
- a newly built instance of
CfnLaunchProfile
.
-