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) AStackSummaryobject that contains the results.stackSummary(StackSummary stackSummary) AStackSummaryobject that contains the results.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
stackSummary
A
StackSummaryobject that contains the results.- Parameters:
stackSummary- AStackSummaryobject 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 theStackSummaryobject that contains the results.StackSummary.Builderavoiding the need to create one manually viaStackSummary.builder().When the
Consumercompletes,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:
-