Interface DescribeStackResourceDriftsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<DescribeStackResourceDriftsResponse.Builder,DescribeStackResourceDriftsResponse>,SdkBuilder<DescribeStackResourceDriftsResponse.Builder,DescribeStackResourceDriftsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeStackResourceDriftsResponse
public static interface DescribeStackResourceDriftsResponse.Builder extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeStackResourceDriftsResponse.Builder,DescribeStackResourceDriftsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeStackResourceDriftsResponse.BuildernextToken(String nextToken)If the request doesn't return all the remaining results,NextTokenis set to a token.DescribeStackResourceDriftsResponse.BuilderstackResourceDrifts(Collection<StackResourceDrift> stackResourceDrifts)Drift information for the resources that have been checked for drift in the specified stack.DescribeStackResourceDriftsResponse.BuilderstackResourceDrifts(Consumer<StackResourceDrift.Builder>... stackResourceDrifts)Drift information for the resources that have been checked for drift in the specified stack.DescribeStackResourceDriftsResponse.BuilderstackResourceDrifts(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#stackResourceDrifts(List.) - 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:
#stackResourceDrifts(java.util.Collection)
-
nextToken
DescribeStackResourceDriftsResponse.Builder nextToken(String 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.
-
-