Interface DescribeStacksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStacksResponse.Builder,,DescribeStacksResponse> OpsWorksResponse.Builder,SdkBuilder<DescribeStacksResponse.Builder,,DescribeStacksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeStacksResponse
public static interface DescribeStacksResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeStacksResponse.Builder,DescribeStacksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstacks(Collection<Stack> stacks) An array ofStackobjects that describe the stacks.stacks(Consumer<Stack.Builder>... stacks) An array ofStackobjects that describe the stacks.An array ofStackobjects that describe the stacks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
stacks
An array of
Stackobjects that describe the stacks.- Parameters:
stacks- An array ofStackobjects that describe the stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stacks
An array of
Stackobjects that describe the stacks.- Parameters:
stacks- An array ofStackobjects that describe the stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stacks
An array of
This is a convenience method that creates an instance of theStackobjects that describe the stacks.Stack.Builderavoiding the need to create one manually viaStack.builder().When the
Consumercompletes,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:
-