public class StackEvent
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The StackEvent data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
eventId
The unique ID of this event.
|
private java.lang.String |
logicalResourceId
The logical name of the resource specified in the template.
|
private java.lang.String |
physicalResourceId
The name or unique identifier associated with the physical instance of
the resource.
|
private java.lang.String |
resourceProperties
BLOB of the properties used to create the resource.
|
private java.lang.String |
resourceStatus
Current status of the resource.
|
private java.lang.String |
resourceStatusReason
Success/failure message associated with the resource.
|
private java.lang.String |
resourceType
Type of resource.
|
private java.lang.String |
stackId
The unique ID name of the instance of the stack.
|
private java.lang.String |
stackName
The name associated with a stack.
|
private java.util.Date |
timestamp
Time the status was updated.
|
Constructor and Description |
---|
StackEvent() |
Modifier and Type | Method and Description |
---|---|
StackEvent |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEventId()
The unique ID of this event.
|
java.lang.String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
java.lang.String |
getPhysicalResourceId()
The name or unique identifier associated with the physical instance of
the resource.
|
java.lang.String |
getResourceProperties()
BLOB of the properties used to create the resource.
|
java.lang.String |
getResourceStatus()
Current status of the resource.
|
java.lang.String |
getResourceStatusReason()
Success/failure message associated with the resource.
|
java.lang.String |
getResourceType()
Type of resource.
|
java.lang.String |
getStackId()
The unique ID name of the instance of the stack.
|
java.lang.String |
getStackName()
The name associated with a stack.
|
java.util.Date |
getTimestamp()
Time the status was updated.
|
int |
hashCode() |
void |
setEventId(java.lang.String eventId)
The unique ID of this event.
|
void |
setLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
void |
setPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier associated with the physical instance of
the resource.
|
void |
setResourceProperties(java.lang.String resourceProperties)
BLOB of the properties used to create the resource.
|
void |
setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
void |
setResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
|
void |
setResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
void |
setResourceType(java.lang.String resourceType)
Type of resource.
|
void |
setStackId(java.lang.String stackId)
The unique ID name of the instance of the stack.
|
void |
setStackName(java.lang.String stackName)
The name associated with a stack.
|
void |
setTimestamp(java.util.Date timestamp)
Time the status was updated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackEvent |
withEventId(java.lang.String eventId)
The unique ID of this event.
|
StackEvent |
withLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
|
StackEvent |
withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier associated with the physical instance of
the resource.
|
StackEvent |
withResourceProperties(java.lang.String resourceProperties)
BLOB of the properties used to create the resource.
|
StackEvent |
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackEvent |
withResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
|
StackEvent |
withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
|
StackEvent |
withResourceType(java.lang.String resourceType)
Type of resource.
|
StackEvent |
withStackId(java.lang.String stackId)
The unique ID name of the instance of the stack.
|
StackEvent |
withStackName(java.lang.String stackName)
The name associated with a stack.
|
StackEvent |
withTimestamp(java.util.Date timestamp)
Time the status was updated.
|
private java.lang.String stackId
The unique ID name of the instance of the stack.
private java.lang.String eventId
The unique ID of this event.
private java.lang.String stackName
The name associated with a stack.
private java.lang.String logicalResourceId
The logical name of the resource specified in the template.
private java.lang.String physicalResourceId
The name or unique identifier associated with the physical instance of the resource.
private java.lang.String resourceType
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
private java.util.Date timestamp
Time the status was updated.
private java.lang.String resourceStatus
Current status of the resource.
private java.lang.String resourceStatusReason
Success/failure message associated with the resource.
private java.lang.String resourceProperties
BLOB of the properties used to create the resource.
public void setStackId(java.lang.String stackId)
The unique ID name of the instance of the stack.
stackId
- The unique ID name of the instance of the stack.public java.lang.String getStackId()
The unique ID name of the instance of the stack.
public StackEvent withStackId(java.lang.String stackId)
The unique ID name of the instance of the stack.
stackId
- The unique ID name of the instance of the stack.public void setEventId(java.lang.String eventId)
The unique ID of this event.
eventId
- The unique ID of this event.public java.lang.String getEventId()
The unique ID of this event.
public StackEvent withEventId(java.lang.String eventId)
The unique ID of this event.
eventId
- The unique ID of this event.public void setStackName(java.lang.String stackName)
The name associated with a stack.
stackName
- The name associated with a stack.public java.lang.String getStackName()
The name associated with a stack.
public StackEvent withStackName(java.lang.String stackName)
The name associated with a stack.
stackName
- The name associated with a stack.public void setLogicalResourceId(java.lang.String logicalResourceId)
The logical name of the resource specified in the template.
logicalResourceId
- The logical name of the resource specified in the template.public java.lang.String getLogicalResourceId()
The logical name of the resource specified in the template.
public StackEvent withLogicalResourceId(java.lang.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(java.lang.String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.
physicalResourceId
- The name or unique identifier associated with the physical
instance of the resource.public java.lang.String getPhysicalResourceId()
The name or unique identifier associated with the physical instance of the resource.
public StackEvent withPhysicalResourceId(java.lang.String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.
physicalResourceId
- The name or unique identifier associated with the physical
instance of the resource.public void setResourceType(java.lang.String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public java.lang.String getResourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
public StackEvent withResourceType(java.lang.String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
resourceType
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public void setTimestamp(java.util.Date timestamp)
Time the status was updated.
timestamp
- Time the status was updated.public java.util.Date getTimestamp()
Time the status was updated.
public StackEvent withTimestamp(java.util.Date timestamp)
Time the status was updated.
timestamp
- Time the status was updated.public void setResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public java.lang.String getResourceStatus()
Current status of the resource.
ResourceStatus
public StackEvent withResourceStatus(java.lang.String resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public StackEvent withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public java.lang.String getResourceStatusReason()
Success/failure message associated with the resource.
public StackEvent withResourceStatusReason(java.lang.String resourceStatusReason)
Success/failure message associated with the resource.
resourceStatusReason
- Success/failure message associated with the resource.public void setResourceProperties(java.lang.String resourceProperties)
BLOB of the properties used to create the resource.
resourceProperties
- BLOB of the properties used to create the resource.public java.lang.String getResourceProperties()
BLOB of the properties used to create the resource.
public StackEvent withResourceProperties(java.lang.String resourceProperties)
BLOB of the properties used to create the resource.
resourceProperties
- BLOB of the properties used to create the resource.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StackEvent clone()
clone
in class java.lang.Object