Interface CreateRecipeRequest.Builder

    • Method Detail

      • description

        CreateRecipeRequest.Builder description​(String 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

        CreateRecipeRequest.Builder name​(String 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

        CreateRecipeRequest.Builder steps​(Collection<RecipeStep> 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

        CreateRecipeRequest.Builder steps​(RecipeStep... 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

        CreateRecipeRequest.Builder steps​(Consumer<RecipeStep.Builder>... 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 the RecipeStep.Builder avoiding the need to create one manually via RecipeStep.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #steps(List).

        Parameters:
        steps - a consumer that will call methods on RecipeStep.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #steps(java.util.Collection)
      • tags

        CreateRecipeRequest.Builder tags​(Map<String,​String> 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.