Class CfnStudioComponent.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnStudioComponent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioComponent>
- Enclosing class:
- CfnStudioComponent
@Stability(Stable)
public static final class CfnStudioComponent.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioComponent>
A fluent builder for
CfnStudioComponent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()configuration(IResolvable configuration) The configuration of the studio component, based on component type.The configuration of the studio component, based on component type.static CfnStudioComponent.Builderdescription(String description) A human-readable description for the studio component resource.ec2SecurityGroupIds(List<String> ec2SecurityGroupIds) The EC2 security groups that control access to the studio component.initializationScripts(List<? extends Object> initializationScripts) Initialization scripts for studio components.initializationScripts(IResolvable initializationScripts) Initialization scripts for studio components.A friendly name for the studio component resource.scriptParameters(List<? extends Object> scriptParameters) Parameters for the studio component scripts.scriptParameters(IResolvable scriptParameters) Parameters for the studio component scripts.The unique identifier for a studio resource.The specific subtype of a studio component.An array of key-value pairs to apply to this resource.The type of the studio component.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnStudioComponent.Builder.
-
name
A friendly name for the studio component resource.- Parameters:
name- A friendly name for the studio component resource. 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
-
type
The type of the studio component.- Parameters:
type- The type of the studio component. This parameter is required.- Returns:
this
-
configuration
The configuration of the studio component, based on component type.- Parameters:
configuration- The configuration of the studio component, based on component type. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnStudioComponent.Builder configuration(CfnStudioComponent.StudioComponentConfigurationProperty configuration) The configuration of the studio component, based on component type.- Parameters:
configuration- The configuration of the studio component, based on component type. This parameter is required.- Returns:
this
-
description
A human-readable description for the studio component resource.- Parameters:
description- A human-readable description for the studio component resource. This parameter is required.- Returns:
this
-
ec2SecurityGroupIds
@Stability(Stable) public CfnStudioComponent.Builder ec2SecurityGroupIds(List<String> ec2SecurityGroupIds) The EC2 security groups that control access to the studio component.- Parameters:
ec2SecurityGroupIds- The EC2 security groups that control access to the studio component. This parameter is required.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponent.Builder initializationScripts(IResolvable initializationScripts) Initialization scripts for studio components.- Parameters:
initializationScripts- Initialization scripts for studio components. This parameter is required.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponent.Builder initializationScripts(List<? extends Object> initializationScripts) Initialization scripts for studio components.- Parameters:
initializationScripts- Initialization scripts for studio components. This parameter is required.- Returns:
this
-
scriptParameters
Parameters for the studio component scripts.- Parameters:
scriptParameters- Parameters for the studio component scripts. This parameter is required.- Returns:
this
-
scriptParameters
@Stability(Stable) public CfnStudioComponent.Builder scriptParameters(List<? extends Object> scriptParameters) Parameters for the studio component scripts.- Parameters:
scriptParameters- Parameters for the studio component scripts. This parameter is required.- Returns:
this
-
subtype
The specific subtype of a studio component.- Parameters:
subtype- The specific subtype of a studio component. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStudioComponent>- Returns:
- a newly built instance of
CfnStudioComponent.
-