Class CfnStudioComponentProps.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnStudioComponentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioComponentProps>
- Enclosing interface:
- CfnStudioComponentProps
@Stability(Stable)
public static final class CfnStudioComponentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioComponentProps>
A builder for
CfnStudioComponentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnStudioComponentProps.getConfiguration()Sets the value ofCfnStudioComponentProps.getConfiguration()description(String description) Sets the value ofCfnStudioComponentProps.getDescription()ec2SecurityGroupIds(List<String> ec2SecurityGroupIds) Sets the value ofCfnStudioComponentProps.getEc2SecurityGroupIds()initializationScripts(List<? extends Object> initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()initializationScripts(IResolvable initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()Sets the value ofCfnStudioComponentProps.getName()scriptParameters(List<? extends Object> scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()scriptParameters(IResolvable scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()Sets the value ofCfnStudioComponentProps.getStudioId()Sets the value ofCfnStudioComponentProps.getSubtype()Sets the value ofCfnStudioComponentProps.getTags()Sets the value ofCfnStudioComponentProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnStudioComponentProps.getName()- Parameters:
name- A friendly name for the studio component resource. This parameter is required.- Returns:
this
-
studioId
Sets the value ofCfnStudioComponentProps.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
-
type
Sets the value ofCfnStudioComponentProps.getType()- Parameters:
type- The type of the studio component. This parameter is required.- Returns:
this
-
configuration
Sets the value ofCfnStudioComponentProps.getConfiguration()- Parameters:
configuration- The configuration of the studio component, based on component type.- Returns:
this
-
configuration
@Stability(Stable) public CfnStudioComponentProps.Builder configuration(CfnStudioComponent.StudioComponentConfigurationProperty configuration) Sets the value ofCfnStudioComponentProps.getConfiguration()- Parameters:
configuration- The configuration of the studio component, based on component type.- Returns:
this
-
description
Sets the value ofCfnStudioComponentProps.getDescription()- Parameters:
description- A human-readable description for the studio component resource.- Returns:
this
-
ec2SecurityGroupIds
@Stability(Stable) public CfnStudioComponentProps.Builder ec2SecurityGroupIds(List<String> ec2SecurityGroupIds) Sets the value ofCfnStudioComponentProps.getEc2SecurityGroupIds()- Parameters:
ec2SecurityGroupIds- The EC2 security groups that control access to the studio component.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponentProps.Builder initializationScripts(IResolvable initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()- Parameters:
initializationScripts- Initialization scripts for studio components.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponentProps.Builder initializationScripts(List<? extends Object> initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()- Parameters:
initializationScripts- Initialization scripts for studio components.- Returns:
this
-
scriptParameters
@Stability(Stable) public CfnStudioComponentProps.Builder scriptParameters(IResolvable scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()- Parameters:
scriptParameters- Parameters for the studio component scripts.- Returns:
this
-
scriptParameters
@Stability(Stable) public CfnStudioComponentProps.Builder scriptParameters(List<? extends Object> scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()- Parameters:
scriptParameters- Parameters for the studio component scripts.- Returns:
this
-
subtype
Sets the value ofCfnStudioComponentProps.getSubtype()- Parameters:
subtype- The specific subtype of a studio component.- Returns:
this
-
tags
Sets the value ofCfnStudioComponentProps.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<CfnStudioComponentProps>- Returns:
- a new instance of
CfnStudioComponentProps - Throws:
NullPointerException- if any required attribute was not provided
-