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- the value to be set. This parameter is required.- Returns:
this
-
studioId
Sets the value ofCfnStudioComponentProps.getStudioId()- Parameters:
studioId- the value to be set. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnStudioComponentProps.getType()- Parameters:
type- the value to be set. This parameter is required.- Returns:
this
-
configuration
Sets the value ofCfnStudioComponentProps.getConfiguration()- Parameters:
configuration- the value to be set.- Returns:
this
-
configuration
@Stability(Stable) public CfnStudioComponentProps.Builder configuration(CfnStudioComponent.StudioComponentConfigurationProperty configuration) Sets the value ofCfnStudioComponentProps.getConfiguration()- Parameters:
configuration- the value to be set.- Returns:
this
-
description
Sets the value ofCfnStudioComponentProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
ec2SecurityGroupIds
@Stability(Stable) public CfnStudioComponentProps.Builder ec2SecurityGroupIds(List<String> ec2SecurityGroupIds) Sets the value ofCfnStudioComponentProps.getEc2SecurityGroupIds()- Parameters:
ec2SecurityGroupIds- the value to be set.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponentProps.Builder initializationScripts(IResolvable initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()- Parameters:
initializationScripts- the value to be set.- Returns:
this
-
initializationScripts
@Stability(Stable) public CfnStudioComponentProps.Builder initializationScripts(List<? extends Object> initializationScripts) Sets the value ofCfnStudioComponentProps.getInitializationScripts()- Parameters:
initializationScripts- the value to be set.- Returns:
this
-
scriptParameters
@Stability(Stable) public CfnStudioComponentProps.Builder scriptParameters(IResolvable scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()- Parameters:
scriptParameters- the value to be set.- Returns:
this
-
scriptParameters
@Stability(Stable) public CfnStudioComponentProps.Builder scriptParameters(List<? extends Object> scriptParameters) Sets the value ofCfnStudioComponentProps.getScriptParameters()- Parameters:
scriptParameters- the value to be set.- Returns:
this
-
subtype
Sets the value ofCfnStudioComponentProps.getSubtype()- Parameters:
subtype- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnStudioComponentProps.getTags()- Parameters:
tags- the value to be set.- 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
-