Class CfnLaunchProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnLaunchProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchProfileProps>
- Enclosing interface:
- CfnLaunchProfileProps
@Stability(Stable)
public static final class CfnLaunchProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchProfileProps>
A builder for
CfnLaunchProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLaunchProfileProps.getDescription()ec2SubnetIds(List<String> ec2SubnetIds) Sets the value ofCfnLaunchProfileProps.getEc2SubnetIds()launchProfileProtocolVersions(List<String> launchProfileProtocolVersions) Sets the value ofCfnLaunchProfileProps.getLaunchProfileProtocolVersions()Sets the value ofCfnLaunchProfileProps.getName()streamConfiguration(IResolvable streamConfiguration) Sets the value ofCfnLaunchProfileProps.getStreamConfiguration()streamConfiguration(CfnLaunchProfile.StreamConfigurationProperty streamConfiguration) Sets the value ofCfnLaunchProfileProps.getStreamConfiguration()studioComponentIds(List<String> studioComponentIds) Sets the value ofCfnLaunchProfileProps.getStudioComponentIds()Sets the value ofCfnLaunchProfileProps.getStudioId()Sets the value ofCfnLaunchProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ec2SubnetIds
Sets the value ofCfnLaunchProfileProps.getEc2SubnetIds()- Parameters:
ec2SubnetIds- Unique identifiers for a collection of EC2 subnets. This parameter is required.- Returns:
this
-
launchProfileProtocolVersions
@Stability(Stable) public CfnLaunchProfileProps.Builder launchProfileProtocolVersions(List<String> launchProfileProtocolVersions) Sets the value ofCfnLaunchProfileProps.getLaunchProfileProtocolVersions()- Parameters:
launchProfileProtocolVersions- The version number of the protocol that is used by the launch profile. This parameter is required. The only valid version is "2021-03-31".- Returns:
this
-
name
Sets the value ofCfnLaunchProfileProps.getName()- Parameters:
name- A friendly name for the launch profile. This parameter is required.- Returns:
this
-
streamConfiguration
@Stability(Stable) public CfnLaunchProfileProps.Builder streamConfiguration(CfnLaunchProfile.StreamConfigurationProperty streamConfiguration) Sets the value ofCfnLaunchProfileProps.getStreamConfiguration()- Parameters:
streamConfiguration- A configuration for a streaming session. This parameter is required.- Returns:
this
-
streamConfiguration
@Stability(Stable) public CfnLaunchProfileProps.Builder streamConfiguration(IResolvable streamConfiguration) Sets the value ofCfnLaunchProfileProps.getStreamConfiguration()- Parameters:
streamConfiguration- A configuration for a streaming session. This parameter is required.- Returns:
this
-
studioComponentIds
@Stability(Stable) public CfnLaunchProfileProps.Builder studioComponentIds(List<String> studioComponentIds) Sets the value ofCfnLaunchProfileProps.getStudioComponentIds()- 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
Sets the value ofCfnLaunchProfileProps.getStudioId()- Parameters:
studioId- The unique identifier for a studio resource. This parameter is required. In Nimble Studio , all other resources are contained in a studio resource.- Returns:
this
-
description
Sets the value ofCfnLaunchProfileProps.getDescription()- Parameters:
description- A human-readable description of the launch profile.- Returns:
this
-
tags
Sets the value ofCfnLaunchProfileProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchProfileProps>- Returns:
- a new instance of
CfnLaunchProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-