Interface CreateRecipeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRecipeRequest.Builder,,CreateRecipeRequest> DataBrewRequest.Builder,SdkBuilder<CreateRecipeRequest.Builder,,CreateRecipeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRecipeRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description for the recipe.A unique name for the recipe.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.steps(Collection<RecipeStep> steps) An array containing the steps to be performed by the recipe.steps(Consumer<RecipeStep.Builder>... steps) An array containing the steps to be performed by the recipe.steps(RecipeStep... steps) An array containing the steps to be performed by the recipe.Metadata tags to apply to this recipe.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databrew.model.DataBrewRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description for the recipe.
- Parameters:
description- A description for the recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
- Parameters:
name- A unique name for the recipe. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
- Parameters:
steps- An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
- Parameters:
steps- An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
An array containing the steps to be performed by the recipe. Each recipe step consists of one recipe action and (optionally) an array of condition expressions.
This is a convenience method that creates an instance of theRecipeStep.Builderavoiding the need to create one manually viaRecipeStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosteps(List<RecipeStep>).- Parameters:
steps- a consumer that will call methods onRecipeStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Metadata tags to apply to this recipe.
- Parameters:
tags- Metadata tags to apply to this recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRecipeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRecipeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-