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, 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
-
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.Builderavoiding the need to create one manually viaStackResourceDrift.builder().When the
Consumercompletes,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:
-