@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackInstanceResourceDriftsSummary extends Object implements Serializable, Cloneable
The structure containing summary information about resource drifts for a stack instance.
Constructor and Description |
---|
StackInstanceResourceDriftsSummary() |
Modifier and Type | Method and Description |
---|---|
StackInstanceResourceDriftsSummary |
clone() |
boolean |
equals(Object obj) |
String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
String |
getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
List<PhysicalResourceIdContextKeyValuePair> |
getPhysicalResourceIdContext()
Context information that enables CloudFormation to uniquely identify a resource.
|
List<PropertyDifference> |
getPropertyDifferences()
Status of the actual configuration of the resource compared to its expected configuration.
|
String |
getResourceType()
Type of resource.
|
String |
getStackId()
The ID of the stack instance.
|
String |
getStackResourceDriftStatus()
The drift status of the resource in a stack instance.
|
Date |
getTimestamp()
Time at which the stack instance drift detection operation was initiated.
|
int |
hashCode() |
void |
setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
void |
setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
void |
setPhysicalResourceIdContext(Collection<PhysicalResourceIdContextKeyValuePair> physicalResourceIdContext)
Context information that enables CloudFormation to uniquely identify a resource.
|
void |
setPropertyDifferences(Collection<PropertyDifference> propertyDifferences)
Status of the actual configuration of the resource compared to its expected configuration.
|
void |
setResourceType(String resourceType)
Type of resource.
|
void |
setStackId(String stackId)
The ID of the stack instance.
|
void |
setStackResourceDriftStatus(String stackResourceDriftStatus)
The drift status of the resource in a stack instance.
|
void |
setTimestamp(Date timestamp)
Time at which the stack instance drift detection operation was initiated.
|
String |
toString()
Returns a string representation of this object.
|
StackInstanceResourceDriftsSummary |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackInstanceResourceDriftsSummary |
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.
|
StackInstanceResourceDriftsSummary |
withPhysicalResourceIdContext(Collection<PhysicalResourceIdContextKeyValuePair> physicalResourceIdContext)
Context information that enables CloudFormation to uniquely identify a resource.
|
StackInstanceResourceDriftsSummary |
withPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair... physicalResourceIdContext)
Context information that enables CloudFormation to uniquely identify a resource.
|
StackInstanceResourceDriftsSummary |
withPropertyDifferences(Collection<PropertyDifference> propertyDifferences)
Status of the actual configuration of the resource compared to its expected configuration.
|
StackInstanceResourceDriftsSummary |
withPropertyDifferences(PropertyDifference... propertyDifferences)
Status of the actual configuration of the resource compared to its expected configuration.
|
StackInstanceResourceDriftsSummary |
withResourceType(String resourceType)
Type of resource.
|
StackInstanceResourceDriftsSummary |
withStackId(String stackId)
The ID of the stack instance.
|
StackInstanceResourceDriftsSummary |
withStackResourceDriftStatus(StackResourceDriftStatus stackResourceDriftStatus)
The drift status of the resource in a stack instance.
|
StackInstanceResourceDriftsSummary |
withStackResourceDriftStatus(String stackResourceDriftStatus)
The drift status of the resource in a stack instance.
|
StackInstanceResourceDriftsSummary |
withTimestamp(Date timestamp)
Time at which the stack instance drift detection operation was initiated.
|
public void setStackId(String stackId)
The ID of the stack instance.
stackId
- The ID of the stack instance.public String getStackId()
The ID of the stack instance.
public StackInstanceResourceDriftsSummary withStackId(String stackId)
The ID of the stack instance.
stackId
- The ID of the stack instance.public void setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public String getLogicalResourceId()
The logical name of the resource specified in the template.
public StackInstanceResourceDriftsSummary withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public void setPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.public String getPhysicalResourceId()
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
public StackInstanceResourceDriftsSummary withPhysicalResourceId(String physicalResourceId)
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
physicalResourceId
- The name or unique identifier that corresponds to a physical instance ID of a resource supported by
CloudFormation.public List<PhysicalResourceIdContextKeyValuePair> getPhysicalResourceIdContext()
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.
public void setPhysicalResourceIdContext(Collection<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.
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.public StackInstanceResourceDriftsSummary withPhysicalResourceIdContext(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.
NOTE: This method appends the values to the existing list (if any). Use
setPhysicalResourceIdContext(java.util.Collection)
or
withPhysicalResourceIdContext(java.util.Collection)
if you want to override the existing values.
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.public StackInstanceResourceDriftsSummary withPhysicalResourceIdContext(Collection<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.
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.public void setResourceType(String resourceType)
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
resourceType
- Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.public String getResourceType()
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
public StackInstanceResourceDriftsSummary withResourceType(String resourceType)
Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.
resourceType
- Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User Guide.public List<PropertyDifference> getPropertyDifferences()
Status of the actual configuration of the resource compared to its expected configuration. These will be present
only for resources whose StackInstanceResourceDriftStatus
is MODIFIED
.
StackInstanceResourceDriftStatus
is MODIFIED
.public void setPropertyDifferences(Collection<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
.
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
.public StackInstanceResourceDriftsSummary withPropertyDifferences(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
.
NOTE: This method appends the values to the existing list (if any). Use
setPropertyDifferences(java.util.Collection)
or withPropertyDifferences(java.util.Collection)
if you want to override the existing values.
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
.public StackInstanceResourceDriftsSummary withPropertyDifferences(Collection<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
.
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
.public void setStackResourceDriftStatus(String 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.
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.
StackResourceDriftStatus
public String getStackResourceDriftStatus()
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.
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.
StackResourceDriftStatus
public StackInstanceResourceDriftsSummary withStackResourceDriftStatus(String 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.
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.
StackResourceDriftStatus
public StackInstanceResourceDriftsSummary withStackResourceDriftStatus(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.
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.
StackResourceDriftStatus
public void setTimestamp(Date timestamp)
Time at which the stack instance drift detection operation was initiated.
timestamp
- Time at which the stack instance drift detection operation was initiated.public Date getTimestamp()
Time at which the stack instance drift detection operation was initiated.
public StackInstanceResourceDriftsSummary withTimestamp(Date timestamp)
Time at which the stack instance drift detection operation was initiated.
timestamp
- Time at which the stack instance drift detection operation was initiated.public String toString()
toString
in class Object
Object.toString()
public StackInstanceResourceDriftsSummary clone()