Class CfnJob.RecipeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnJob.RecipeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJob.RecipeProperty>
- Enclosing interface:
- CfnJob.RecipeProperty
@Stability(Stable)
public static final class CfnJob.RecipeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJob.RecipeProperty>
A builder for
CfnJob.RecipeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnJob.RecipeProperty.getName()Sets the value ofCfnJob.RecipeProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnJob.RecipeProperty.getName()- Parameters:
name- The unique name for the recipe. This parameter is required.- Returns:
this
-
version
Sets the value ofCfnJob.RecipeProperty.getVersion()- Parameters:
version- The identifier for the version for the recipe.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJob.RecipeProperty>- Returns:
- a new instance of
CfnJob.RecipeProperty - Throws:
NullPointerException- if any required attribute was not provided
-