Interface DescribeStacksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<DescribeStacksResponse.Builder,
,DescribeStacksResponse> SdkBuilder<DescribeStacksResponse.Builder,
,DescribeStacksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeStacksResponse
public static interface DescribeStacksResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeStacksResponse.Builder,DescribeStacksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the output exceeds 1 MB in size, a string that identifies the next page of stacks.stacks
(Collection<Stack> stacks) A list of stack structures.stacks
(Consumer<Stack.Builder>... stacks) A list of stack structures.A list of stack structures.Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
stacks
A list of stack structures.
- Parameters:
stacks
- A list of stack structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stacks
A list of stack structures.
- Parameters:
stacks
- A list of stack structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stacks
A list of stack structures.
This is a convenience method that creates an instance of theStack.Builder
avoiding the need to create one manually viaStack.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostacks(List<Stack>)
.- Parameters:
stacks
- a consumer that will call methods onStack.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-