public class StackEvent extends Object implements Serializable
The StackEvent data type.
Constructor and Description |
---|
StackEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getEventId()
The unique ID of this event.
|
String |
getLogicalResourceId()
The logical name of the resource specified in the template.
|
String |
getPhysicalResourceId()
The name or unique identifier associated with the physical instance of
the resource.
|
String |
getResourceProperties()
BLOB of the properties used to create the resource.
|
String |
getResourceStatus()
Current status of the resource.
|
String |
getResourceStatusReason()
Success/failure message associated with the resource.
|
String |
getResourceType()
Type of resource.
|
String |
getStackId()
The unique ID name of the instance of the stack.
|
String |
getStackName()
The name associated with a stack.
|
Date |
getTimestamp()
Time the status was updated.
|
int |
hashCode() |
void |
setEventId(String eventId)
The unique ID of this event.
|
void |
setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
void |
setPhysicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of
the resource.
|
void |
setResourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.
|
void |
setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
void |
setResourceStatus(String resourceStatus)
Current status of the resource.
|
void |
setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
void |
setResourceType(String resourceType)
Type of resource.
|
void |
setStackId(String stackId)
The unique ID name of the instance of the stack.
|
void |
setStackName(String stackName)
The name associated with a stack.
|
void |
setTimestamp(Date timestamp)
Time the status was updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StackEvent |
withEventId(String eventId)
The unique ID of this event.
|
StackEvent |
withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
|
StackEvent |
withPhysicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of
the resource.
|
StackEvent |
withResourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.
|
StackEvent |
withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
|
StackEvent |
withResourceStatus(String resourceStatus)
Current status of the resource.
|
StackEvent |
withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
|
StackEvent |
withResourceType(String resourceType)
Type of resource.
|
StackEvent |
withStackId(String stackId)
The unique ID name of the instance of the stack.
|
StackEvent |
withStackName(String stackName)
The name associated with a stack.
|
StackEvent |
withTimestamp(Date timestamp)
Time the status was updated.
|
public String getStackId()
public void setStackId(String stackId)
stackId
- The unique ID name of the instance of the stack.public StackEvent withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The unique ID name of the instance of the stack.public String getEventId()
public void setEventId(String eventId)
eventId
- The unique ID of this event.public StackEvent withEventId(String eventId)
Returns a reference to this object so that method calls can be chained together.
eventId
- The unique ID of this event.public String getStackName()
public void setStackName(String stackName)
stackName
- The name associated with a stack.public StackEvent withStackName(String stackName)
Returns a reference to this object so that method calls can be chained together.
stackName
- The name associated with a stack.public String getLogicalResourceId()
public void setLogicalResourceId(String logicalResourceId)
logicalResourceId
- The logical name of the resource specified in the template.public StackEvent withLogicalResourceId(String logicalResourceId)
Returns a reference to this object so that method calls can be chained together.
logicalResourceId
- The logical name of the resource specified in the template.public String getPhysicalResourceId()
public void setPhysicalResourceId(String physicalResourceId)
physicalResourceId
- The name or unique identifier associated with the physical instance of
the resource.public StackEvent withPhysicalResourceId(String physicalResourceId)
Returns a reference to this object so that method calls can be chained together.
physicalResourceId
- The name or unique identifier associated with the physical instance of
the resource.public String getResourceType()
public void setResourceType(String resourceType)
resourceType
- Type of resource. (For more information, go to
AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public StackEvent withResourceType(String resourceType)
Returns a reference to this object so that method calls can be chained together.
resourceType
- Type of resource. (For more information, go to
AWS Resource Types Reference in the AWS CloudFormation User
Guide.)public Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp
- Time the status was updated.public StackEvent withTimestamp(Date timestamp)
Returns a reference to this object so that method calls can be chained together.
timestamp
- Time the status was updated.public String getResourceStatus()
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
ResourceStatus
public void setResourceStatus(String resourceStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public StackEvent withResourceStatus(String resourceStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public StackEvent withResourceStatus(ResourceStatus resourceStatus)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE
resourceStatus
- Current status of the resource.ResourceStatus
public String getResourceStatusReason()
public void setResourceStatusReason(String resourceStatusReason)
resourceStatusReason
- Success/failure message associated with the resource.public StackEvent withResourceStatusReason(String resourceStatusReason)
Returns a reference to this object so that method calls can be chained together.
resourceStatusReason
- Success/failure message associated with the resource.public String getResourceProperties()
public void setResourceProperties(String resourceProperties)
resourceProperties
- BLOB of the properties used to create the resource.public StackEvent withResourceProperties(String resourceProperties)
Returns a reference to this object so that method calls can be chained together.
resourceProperties
- BLOB of the properties used to create the resource.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.