@Generated(value="software.amazon.awssdk:codegen") public final class DescribeStackResourceDriftsResponse extends CloudFormationResponse implements ToCopyableBuilder<DescribeStackResourceDriftsResponse.Builder,DescribeStackResourceDriftsResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeStackResourceDriftsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeStackResourceDriftsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
nextToken()
If the request doesn't return all of the remaining results,
NextToken is set to a token. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeStackResourceDriftsResponse.Builder> |
serializableBuilderClass() |
List<StackResourceDrift> |
stackResourceDrifts()
Drift information for the resources that have been checked for drift in the specified stack.
|
DescribeStackResourceDriftsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public List<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 AWS CloudFormation detects drift.
For a given stack, there will be one StackResourceDrift
for each stack resource that has been
checked for drift. Resources that have not yet been checked for drift are not included. Resources that do not
currently support drift detection are not checked, and so not included. For a list of resources that support
drift detection, see Resources that Support Drift Detection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
For a given stack, there will be one StackResourceDrift
for each stack resource that has
been checked for drift. Resources that have not yet been checked for drift are not included. Resources
that do not currently support drift detection are not checked, and so not included. For a list of
resources that support drift detection, see Resources that Support Drift Detection.
public String nextToken()
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call DescribeStackResourceDrifts
again and assign that token to the request
object's NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
NextToken
is set to a token. To
retrieve the next set of results, call DescribeStackResourceDrifts
again and assign that
token to the request object's NextToken
parameter. If the request returns all results,
NextToken
is set to null
.public DescribeStackResourceDriftsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeStackResourceDriftsResponse.Builder,DescribeStackResourceDriftsResponse>
toBuilder
in class AwsResponse
public static DescribeStackResourceDriftsResponse.Builder builder()
public static Class<? extends DescribeStackResourceDriftsResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.