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,NextToken
is 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, 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
-
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
StackResourceDrift
for 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
StackResourceDrift
for 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
StackResourceDrift
for 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
StackResourceDrift
for 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 theStackResourceDrift
for 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.Builder
avoiding the need to create one manually viaStackResourceDrift.builder()
.When the
Consumer
completes,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,
NextToken
is set to a token. To retrieve the next set of results, callDescribeStackResourceDrifts
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.- Parameters:
nextToken
- If the request doesn't return all the remaining results,NextToken
is set to a token. To retrieve the next set of results, callDescribeStackResourceDrifts
again and assign that token to the request object'sNextToken
parameter. If the request returns all results,NextToken
is set tonull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-