Interface DescribeStackSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStackSummaryResponse.Builder,
,DescribeStackSummaryResponse> OpsWorksResponse.Builder
,SdkBuilder<DescribeStackSummaryResponse.Builder,
,DescribeStackSummaryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeStackSummaryResponse
public static interface DescribeStackSummaryResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeStackSummaryResponse.Builder,DescribeStackSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstackSummary
(Consumer<StackSummary.Builder> stackSummary) AStackSummary
object that contains the results.stackSummary
(StackSummary stackSummary) AStackSummary
object that contains the results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadata
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
-
stackSummary
A
StackSummary
object that contains the results.- Parameters:
stackSummary
- AStackSummary
object that contains the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackSummary
default DescribeStackSummaryResponse.Builder stackSummary(Consumer<StackSummary.Builder> stackSummary) A
This is a convenience method that creates an instance of theStackSummary
object that contains the results.StackSummary.Builder
avoiding the need to create one manually viaStackSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostackSummary(StackSummary)
.- Parameters:
stackSummary
- a consumer that will call methods onStackSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-