Interface DescribeStackInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<DescribeStackInstanceResponse.Builder,,DescribeStackInstanceResponse> SdkBuilder<DescribeStackInstanceResponse.Builder,,DescribeStackInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeStackInstanceResponse
public static interface DescribeStackInstanceResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeStackInstanceResponse.Builder,DescribeStackInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstackInstance(Consumer<StackInstance.Builder> stackInstance) The stack instance that matches the specified request parameters.stackInstance(StackInstance stackInstance) The stack instance that matches the specified request parameters.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
-
stackInstance
The stack instance that matches the specified request parameters.
- Parameters:
stackInstance- The stack instance that matches the specified request parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackInstance
default DescribeStackInstanceResponse.Builder stackInstance(Consumer<StackInstance.Builder> stackInstance) The stack instance that matches the specified request parameters.
This is a convenience method that creates an instance of theStackInstance.Builderavoiding the need to create one manually viaStackInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostackInstance(StackInstance).- Parameters:
stackInstance- a consumer that will call methods onStackInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-