Interface DescribeStackResourceDriftsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<DescribeStackResourceDriftsResponse.Builder,,DescribeStackResourceDriftsResponse> SdkBuilder<DescribeStackResourceDriftsResponse.Builder,,DescribeStackResourceDriftsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeStackResourceDriftsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all the remaining results,NextTokenis set to a token.stackResourceDrifts(Collection<StackResourceDrift> stackResourceDrifts) Drift information for the resources that have been checked for drift in the specified stack.stackResourceDrifts(Consumer<StackResourceDrift.Builder>... stackResourceDrifts) Drift information for the resources that have been checked for drift in the specified stack.stackResourceDrifts(StackResourceDrift... stackResourceDrifts) Drift information for the resources that have been checked for drift 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
stackResourceDrifts
DescribeStackResourceDriftsResponse.Builder stackResourceDrifts(Collection<StackResourceDrift> stackResourceDrifts) Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.
For a given stack, there will be one
StackResourceDriftfor each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.- Parameters:
stackResourceDrifts- Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.For a given stack, there will be one
StackResourceDriftfor each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackResourceDrifts
DescribeStackResourceDriftsResponse.Builder stackResourceDrifts(StackResourceDrift... stackResourceDrifts) Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.
For a given stack, there will be one
StackResourceDriftfor each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.- Parameters:
stackResourceDrifts- Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.For a given stack, there will be one
StackResourceDriftfor each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackResourceDrifts
DescribeStackResourceDriftsResponse.Builder stackResourceDrifts(Consumer<StackResourceDrift.Builder>... stackResourceDrifts) Drift information for the resources that have been checked for drift in the specified stack. This includes actual and expected configuration values for resources where CloudFormation detects drift.
For a given stack, there will be one
This is a convenience method that creates an instance of theStackResourceDriftfor each stack resource that has been checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently support drift detection aren't checked, and so not included. For a list of resources that support drift detection, see Resource type support for imports and drift detection.StackResourceDrift.Builderavoiding the need to create one manually viaStackResourceDrift.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostackResourceDrifts(List<StackResourceDrift>).- Parameters:
stackResourceDrifts- 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:
-
nextToken
If the request doesn't return all the remaining results,
NextTokenis set to a token. To retrieve the next set of results, callDescribeStackResourceDriftsagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set tonull.- Parameters:
nextToken- If the request doesn't return all the remaining results,NextTokenis set to a token. To retrieve the next set of results, callDescribeStackResourceDriftsagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set tonull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-