Class StackInstanceResourceDriftsSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StackInstanceResourceDriftsSummary.Builder,
StackInstanceResourceDriftsSummary>
The structure containing summary information about resource drifts for a stack instance.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the PhysicalResourceIdContext property.final boolean
For responses, this returns true if the service returned a value for the PropertyDifferences property.final String
The logical name of the resource specified in the template.final String
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.Context information that enables CloudFormation to uniquely identify a resource.final List
<PropertyDifference> Status of the actual configuration of the resource compared to its expected configuration.final String
Type of resource.static Class
<? extends StackInstanceResourceDriftsSummary.Builder> final String
stackId()
The ID of the stack instance.final StackResourceDriftStatus
The drift status of the resource in a stack instance.final String
The drift status of the resource in a stack instance.final Instant
Time at which the stack instance drift detection operation was initiated.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stackId
-
logicalResourceId
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
physicalResourceId
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
- Returns:
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
-
hasPhysicalResourceIdContext
public final boolean hasPhysicalResourceIdContext()For responses, this returns true if the service returned a value for the PhysicalResourceIdContext property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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.
-
resourceType
Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
- Returns:
- Type of resource. For more information, see Amazon Web Services resource and property types reference in the CloudFormation User Guide.
-
hasPropertyDifferences
public final boolean hasPropertyDifferences()For responses, this returns true if the service returned a value for the PropertyDifferences property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
propertyDifferences
Status of the actual configuration of the resource compared to its expected configuration. These will be present only for resources whose
StackInstanceResourceDriftStatus
isMODIFIED
.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.- Returns:
- Status of the actual configuration of the resource compared to its expected configuration. These will be
present only for resources whose
StackInstanceResourceDriftStatus
isMODIFIED
.
-
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 returnStackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstackResourceDriftStatusAsString()
.- Returns:
- 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.
-
- See Also:
-
-
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 returnStackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstackResourceDriftStatusAsString()
.- Returns:
- 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.
-
- See Also:
-
-
timestamp
Time at which the stack instance drift detection operation was initiated.
- Returns:
- Time at which the stack instance drift detection operation was initiated.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StackInstanceResourceDriftsSummary.Builder,
StackInstanceResourceDriftsSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends StackInstanceResourceDriftsSummary.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-