@Generated(value="software.amazon.awssdk:codegen") public final class StackInstanceResourceDriftsSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackInstanceResourceDriftsSummary.Builder,StackInstanceResourceDriftsSummary>
The structure containing summary information about resource drifts for a stack instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StackInstanceResourceDriftsSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StackInstanceResourceDriftsSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPhysicalResourceIdContext()
For responses, this returns true if the service returned a value for the PhysicalResourceIdContext property.
|
boolean |
hasPropertyDifferences()
For responses, this returns true if the service returned a value for the PropertyDifferences property.
|
String |
logicalResourceId()
The logical name of the resource specified in the template.
|
String |
physicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
List<PhysicalResourceIdContextKeyValuePair> |
physicalResourceIdContext()
Context information that enables CloudFormation to uniquely identify a resource.
|
List<PropertyDifference> |
propertyDifferences()
Status of the actual configuration of the resource compared to its expected configuration.
|
String |
resourceType()
Type of resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackInstanceResourceDriftsSummary.Builder> |
serializableBuilderClass() |
String |
stackId()
The ID of the stack instance.
|
StackResourceDriftStatus |
stackResourceDriftStatus()
The drift status of the resource in a stack instance.
|
String |
stackResourceDriftStatusAsString()
The drift status of the resource in a stack instance.
|
Instant |
timestamp()
Time at which the stack instance drift detection operation was initiated.
|
StackInstanceResourceDriftsSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stackId()
The ID of the stack instance.
public final String logicalResourceId()
The logical name of the resource specified in the template.
public final String physicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
public final boolean hasPhysicalResourceIdContext()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<PhysicalResourceIdContextKeyValuePair> physicalResourceIdContext()
Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that resource. Each context key-value pair specifies a unique resource that contains the targeted resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPhysicalResourceIdContext() method.
public final String resourceType()
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
public final boolean hasPropertyDifferences()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<PropertyDifference> propertyDifferences()
Status of the actual configuration of the resource compared to its expected configuration. These will be present
only for resources whose StackInstanceResourceDriftStatus is MODIFIED.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPropertyDifferences() method.
StackInstanceResourceDriftStatus is MODIFIED.public final StackResourceDriftStatus stackResourceDriftStatus()
The drift status of the resource in a stack instance.
DELETED: The resource differs from its expected template configuration in that the resource has been
deleted.
MODIFIED: One or more resource properties differ from their expected template values.
IN_SYNC: The resource's actual configuration matches its expected template configuration.
NOT_CHECKED: CloudFormation doesn't currently return this value.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatus will return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from stackResourceDriftStatusAsString().
DELETED: The resource differs from its expected template configuration in that the resource
has been deleted.
MODIFIED: One or more resource properties differ from their expected template values.
IN_SYNC: The resource's actual configuration matches its expected template configuration.
NOT_CHECKED: CloudFormation doesn't currently return this value.
StackResourceDriftStatuspublic final String stackResourceDriftStatusAsString()
The drift status of the resource in a stack instance.
DELETED: The resource differs from its expected template configuration in that the resource has been
deleted.
MODIFIED: One or more resource properties differ from their expected template values.
IN_SYNC: The resource's actual configuration matches its expected template configuration.
NOT_CHECKED: CloudFormation doesn't currently return this value.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatus will return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from stackResourceDriftStatusAsString().
DELETED: The resource differs from its expected template configuration in that the resource
has been deleted.
MODIFIED: One or more resource properties differ from their expected template values.
IN_SYNC: The resource's actual configuration matches its expected template configuration.
NOT_CHECKED: CloudFormation doesn't currently return this value.
StackResourceDriftStatuspublic final Instant timestamp()
Time at which the stack instance drift detection operation was initiated.
public StackInstanceResourceDriftsSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StackInstanceResourceDriftsSummary.Builder,StackInstanceResourceDriftsSummary>public static StackInstanceResourceDriftsSummary.Builder builder()
public static Class<? extends StackInstanceResourceDriftsSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.