Class CfnRecipeProps.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnRecipeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecipeProps>
- Enclosing interface:
CfnRecipeProps
@Stability(Stable)
public static final class CfnRecipeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecipeProps>
A builder for
CfnRecipeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnRecipeProps.getDescription()
Sets the value ofCfnRecipeProps.getName()
Sets the value ofCfnRecipeProps.getSteps()
steps
(IResolvable steps) Sets the value ofCfnRecipeProps.getSteps()
Sets the value ofCfnRecipeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnRecipeProps.getName()
- Parameters:
name
- The unique name for the recipe. This parameter is required.- Returns:
this
-
steps
Sets the value ofCfnRecipeProps.getSteps()
- Parameters:
steps
- A list of steps that are defined by the recipe. This parameter is required.- Returns:
this
-
steps
Sets the value ofCfnRecipeProps.getSteps()
- Parameters:
steps
- A list of steps that are defined by the recipe. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnRecipeProps.getDescription()
- Parameters:
description
- The description of the recipe.- Returns:
this
-
tags
Sets the value ofCfnRecipeProps.getTags()
- Parameters:
tags
- Metadata tags that have been applied to the recipe.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecipeProps>
- Returns:
- a new instance of
CfnRecipeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-