Interface DetectStackResourceDriftResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFormationResponse.Builder
,CopyableBuilder<DetectStackResourceDriftResponse.Builder,
,DetectStackResourceDriftResponse> SdkBuilder<DetectStackResourceDriftResponse.Builder,
,DetectStackResourceDriftResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DetectStackResourceDriftResponse
public static interface DetectStackResourceDriftResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DetectStackResourceDriftResponse.Builder,DetectStackResourceDriftResponse>
-
Method Summary
Modifier and TypeMethodDescriptionstackResourceDrift
(Consumer<StackResourceDrift.Builder> stackResourceDrift) Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.stackResourceDrift
(StackResourceDrift stackResourceDrift) Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.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
-
stackResourceDrift
Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.
- Parameters:
stackResourceDrift
- Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackResourceDrift
default DetectStackResourceDriftResponse.Builder stackResourceDrift(Consumer<StackResourceDrift.Builder> stackResourceDrift) Information about whether the resource's actual configuration has drifted from its expected template configuration, including actual and expected property values and any differences detected.
This is a convenience method that creates an instance of theStackResourceDrift.Builder
avoiding the need to create one manually viaStackResourceDrift.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostackResourceDrift(StackResourceDrift)
.- Parameters:
stackResourceDrift
- a consumer that will call methods onStackResourceDrift.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-