Interface ListStackInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<ListStackInstancesResponse.Builder,
,ListStackInstancesResponse> SdkBuilder<ListStackInstancesResponse.Builder,
,ListStackInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStackInstancesResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all the remaining results,NextToken
is set to a token.summaries
(Collection<StackInstanceSummary> summaries) A list ofStackInstanceSummary
structures that contain information about the specified stack instances.summaries
(Consumer<StackInstanceSummary.Builder>... summaries) A list ofStackInstanceSummary
structures that contain information about the specified stack instances.summaries
(StackInstanceSummary... summaries) A list ofStackInstanceSummary
structures that contain information about the specified stack instances.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
-
summaries
A list of
StackInstanceSummary
structures that contain information about the specified stack instances.- Parameters:
summaries
- A list ofStackInstanceSummary
structures that contain information about the specified stack instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of
StackInstanceSummary
structures that contain information about the specified stack instances.- Parameters:
summaries
- A list ofStackInstanceSummary
structures that contain information about the specified stack instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaries
A list of
This is a convenience method that creates an instance of theStackInstanceSummary
structures that contain information about the specified stack instances.StackInstanceSummary.Builder
avoiding the need to create one manually viaStackInstanceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaries(List<StackInstanceSummary>)
.- Parameters:
summaries
- a consumer that will call methods onStackInstanceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the request doesn't return all the remaining results,
NextToken
is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.- Parameters:
nextToken
- If the request doesn't return all the remaining results,NextToken
is set to a token. To retrieve the next set of results, callListStackInstances
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-