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.Builder
description
(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
@Stability(Stable) public static CfnStudioComponent.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
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
- See Also:
-
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
- See Also:
-
type
The type of the studio component.- Parameters:
type
- The type of the studio component. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
scriptParameters
Parameters for the studio component scripts.- Parameters:
scriptParameters
- Parameters for the studio component scripts. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
subtype
The specific subtype of a studio component.- Parameters:
subtype
- The specific subtype of a studio component. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioComponent>
- Returns:
- a newly built instance of
CfnStudioComponent
.
-