Interface DescribeStacksResponse.Builder

    • Method Detail

      • stacks

        DescribeStacksResponse.Builder stacks​(Collection<Stack> stacks)

        An array of Stack objects that describe the stacks.

        Parameters:
        stacks - An array of Stack objects that describe the stacks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stacks

        DescribeStacksResponse.Builder stacks​(Stack... stacks)

        An array of Stack objects that describe the stacks.

        Parameters:
        stacks - An array of Stack objects that describe the stacks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stacks

        DescribeStacksResponse.Builder stacks​(Consumer<Stack.Builder>... stacks)

        An array of Stack objects that describe the stacks.

        This is a convenience method that creates an instance of the Stack.Builder avoiding the need to create one manually via Stack.builder().

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

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