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.Builder
nextToken(String nextToken)
If the request doesn't return all the remaining results,NextToken
is set to a token.DescribeStackResourceDriftsResponse.Builder
stackResourceDrifts(Collection<StackResourceDrift> stackResourceDrifts)
Drift information for the resources that have been checked for drift in the specified stack.DescribeStackResourceDriftsResponse.Builder
stackResourceDrifts(Consumer<StackResourceDrift.Builder>... stackResourceDrifts)
Drift information for the resources that have been checked for drift in the specified stack.DescribeStackResourceDriftsResponse.Builder
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 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
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 Resources that Support 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 Resources that Support 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 Resources that Support 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 Resources that Support 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 Resources that Support 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 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,
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.
-
-