Interface ListStacksResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudFormationResponse.Builder, CopyableBuilder<ListStacksResponse.Builder,ListStacksResponse>, SdkBuilder<ListStacksResponse.Builder,ListStacksResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListStacksResponse

public static interface ListStacksResponse.Builder extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ListStacksResponse.Builder,ListStacksResponse>
  • Method Details

    • stackSummaries

      ListStacksResponse.Builder stackSummaries(Collection<StackSummary> stackSummaries)

      A list of StackSummary structures containing information about the specified stacks.

      Parameters:
      stackSummaries - A list of StackSummary structures containing information about the specified stacks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stackSummaries

      ListStacksResponse.Builder stackSummaries(StackSummary... stackSummaries)

      A list of StackSummary structures containing information about the specified stacks.

      Parameters:
      stackSummaries - A list of StackSummary structures containing information about the specified stacks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stackSummaries

      ListStacksResponse.Builder stackSummaries(Consumer<StackSummary.Builder>... stackSummaries)

      A list of StackSummary structures containing information about the specified stacks.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stackSummaries(List<StackSummary>).

      Parameters:
      stackSummaries - a consumer that will call methods on StackSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListStacksResponse.Builder nextToken(String nextToken)

      If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

      Parameters:
      nextToken - If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.