Class CfnConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationProps>
- Enclosing interface:
CfnConfigurationProps
@Stability(Stable)
public static final class CfnConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationProps>
A builder for
CfnConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnConfigurationProps.getDescription()Sets the value ofCfnConfigurationProps.getName()runConfigurations(IResolvable runConfigurations) Sets the value ofCfnConfigurationProps.getRunConfigurations()runConfigurations(CfnConfiguration.RunConfigurationsProperty runConfigurations) Sets the value ofCfnConfigurationProps.getRunConfigurations()Sets the value ofCfnConfigurationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConfigurationProps.getName()- Parameters:
name- User-friendly name for the configuration. This parameter is required.- Returns:
this
-
runConfigurations
@Stability(Stable) public CfnConfigurationProps.Builder runConfigurations(IResolvable runConfigurations) Sets the value ofCfnConfigurationProps.getRunConfigurations()- Parameters:
runConfigurations- the value to be set. This parameter is required.- Returns:
this
-
runConfigurations
@Stability(Stable) public CfnConfigurationProps.Builder runConfigurations(CfnConfiguration.RunConfigurationsProperty runConfigurations) Sets the value ofCfnConfigurationProps.getRunConfigurations()- Parameters:
runConfigurations- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConfigurationProps.getDescription()- Parameters:
description- Optional description for the configuration.- Returns:
this
-
tags
Sets the value ofCfnConfigurationProps.getTags()- Parameters:
tags- A map of resource tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationProps>- Returns:
- a new instance of
CfnConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-