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) AStackResourceDetail
structure containing the description of the specified resource in the specified stack.stackResourceDetail
(StackResourceDetail stackResourceDetail) AStackResourceDetail
structure 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, 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
-
stackResourceDetail
A
StackResourceDetail
structure containing the description of the specified resource in the specified stack.- Parameters:
stackResourceDetail
- AStackResourceDetail
structure 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 theStackResourceDetail
structure containing the description of the specified resource in the specified stack.StackResourceDetail.Builder
avoiding the need to create one manually viaStackResourceDetail.builder()
.When the
Consumer
completes,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:
-