public static interface DescribeStacksResponse.Builder extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeStacksResponse.Builder,DescribeStacksResponse>
Modifier and Type | Method and Description |
---|---|
DescribeStacksResponse.Builder |
stacks(Collection<Stack> stacks)
An array of
Stack objects that describe the stacks. |
DescribeStacksResponse.Builder |
stacks(Consumer<Stack.Builder>... stacks)
An array of
Stack objects that describe the stacks. |
DescribeStacksResponse.Builder |
stacks(Stack... stacks)
An array of
Stack objects that describe the stacks. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeStacksResponse.Builder stacks(Collection<Stack> stacks)
An array of Stack
objects that describe the stacks.
stacks
- An array of Stack
objects that describe the stacks.DescribeStacksResponse.Builder stacks(Stack... stacks)
An array of Stack
objects that describe the stacks.
stacks
- An array of Stack
objects that describe the stacks.DescribeStacksResponse.Builder stacks(Consumer<Stack.Builder>... stacks)
An array of Stack
objects that describe the stacks.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #stacks(List)
.stacks
- a consumer that will call methods on List.Builder
#stacks(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.