Interface DescribeStackResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<DescribeStackResourceResponse.Builder,,DescribeStackResourceResponse> SdkBuilder<DescribeStackResourceResponse.Builder,,DescribeStackResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeStackResourceResponse
public static interface DescribeStackResourceResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeStackResourceResponse.Builder,DescribeStackResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstackResourceDetail(Consumer<StackResourceDetail.Builder> stackResourceDetail) AStackResourceDetailstructure containing the description of the specified resource in the specified stack.stackResourceDetail(StackResourceDetail stackResourceDetail) AStackResourceDetailstructure containing the description of the specified resource in the specified stack.Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
stackResourceDetail
A
StackResourceDetailstructure containing the description of the specified resource in the specified stack.- Parameters:
stackResourceDetail- AStackResourceDetailstructure containing the description of the specified resource in the specified stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackResourceDetail
default DescribeStackResourceResponse.Builder stackResourceDetail(Consumer<StackResourceDetail.Builder> stackResourceDetail) A
This is a convenience method that creates an instance of theStackResourceDetailstructure containing the description of the specified resource in the specified stack.StackResourceDetail.Builderavoiding the need to create one manually viaStackResourceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostackResourceDetail(StackResourceDetail).- Parameters:
stackResourceDetail- a consumer that will call methods onStackResourceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-