Class StackEvent
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.StackEvent
-
- All Implemented Interfaces:
Serializable,Cloneable
public class StackEvent extends Object implements Serializable, Cloneable
The StackEvent data type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StackEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackEventclone()booleanequals(Object obj)StringgetEventId()The unique ID of this event.StringgetLogicalResourceId()The logical name of the resource specified in the template.StringgetPhysicalResourceId()The name or unique identifier associated with the physical instance of the resource.StringgetResourceProperties()BLOB of the properties used to create the resource.StringgetResourceStatus()Current status of the resource.StringgetResourceStatusReason()Success/failure message associated with the resource.StringgetResourceType()Type of resource.StringgetStackId()The unique ID name of the instance of the stack.StringgetStackName()The name associated with a stack.DategetTimestamp()Time the status was updated.inthashCode()voidsetEventId(String eventId)The unique ID of this event.voidsetLogicalResourceId(String logicalResourceId)The logical name of the resource specified in the template.voidsetPhysicalResourceId(String physicalResourceId)The name or unique identifier associated with the physical instance of the resource.voidsetResourceProperties(String resourceProperties)BLOB of the properties used to create the resource.voidsetResourceStatus(ResourceStatus resourceStatus)Current status of the resource.voidsetResourceStatus(String resourceStatus)Current status of the resource.voidsetResourceStatusReason(String resourceStatusReason)Success/failure message associated with the resource.voidsetResourceType(String resourceType)Type of resource.voidsetStackId(String stackId)The unique ID name of the instance of the stack.voidsetStackName(String stackName)The name associated with a stack.voidsetTimestamp(Date timestamp)Time the status was updated.StringtoString()Returns a string representation of this object; useful for testing and debugging.StackEventwithEventId(String eventId)The unique ID of this event.StackEventwithLogicalResourceId(String logicalResourceId)The logical name of the resource specified in the template.StackEventwithPhysicalResourceId(String physicalResourceId)The name or unique identifier associated with the physical instance of the resource.StackEventwithResourceProperties(String resourceProperties)BLOB of the properties used to create the resource.StackEventwithResourceStatus(ResourceStatus resourceStatus)Current status of the resource.StackEventwithResourceStatus(String resourceStatus)Current status of the resource.StackEventwithResourceStatusReason(String resourceStatusReason)Success/failure message associated with the resource.StackEventwithResourceType(String resourceType)Type of resource.StackEventwithStackId(String stackId)The unique ID name of the instance of the stack.StackEventwithStackName(String stackName)The name associated with a stack.StackEventwithTimestamp(Date timestamp)Time the status was updated.
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The unique ID name of the instance of the stack.
- Parameters:
stackId- The unique ID name of the instance of the stack.
-
getStackId
public String getStackId()
The unique ID name of the instance of the stack.
- Returns:
- The unique ID name of the instance of the stack.
-
withStackId
public StackEvent withStackId(String stackId)
The unique ID name of the instance of the stack.
- Parameters:
stackId- The unique ID name of the instance of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventId
public void setEventId(String eventId)
The unique ID of this event.
- Parameters:
eventId- The unique ID of this event.
-
getEventId
public String getEventId()
The unique ID of this event.
- Returns:
- The unique ID of this event.
-
withEventId
public StackEvent withEventId(String eventId)
The unique ID of this event.
- Parameters:
eventId- The unique ID of this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackName
public void setStackName(String stackName)
The name associated with a stack.
- Parameters:
stackName- The name associated with a stack.
-
getStackName
public String getStackName()
The name associated with a stack.
- Returns:
- The name associated with a stack.
-
withStackName
public StackEvent withStackName(String stackName)
The name associated with a stack.
- Parameters:
stackName- The name associated with a stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogicalResourceId
public void setLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId- The logical name of the resource specified in the template.
-
getLogicalResourceId
public String getLogicalResourceId()
The logical name of the resource specified in the template.
- Returns:
- The logical name of the resource specified in the template.
-
withLogicalResourceId
public StackEvent withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.
- Parameters:
logicalResourceId- The logical name of the resource specified in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPhysicalResourceId
public void setPhysicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.
- Parameters:
physicalResourceId- The name or unique identifier associated with the physical instance of the resource.
-
getPhysicalResourceId
public String getPhysicalResourceId()
The name or unique identifier associated with the physical instance of the resource.
- Returns:
- The name or unique identifier associated with the physical instance of the resource.
-
withPhysicalResourceId
public StackEvent withPhysicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.
- Parameters:
physicalResourceId- The name or unique identifier associated with the physical instance of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceType
public void setResourceType(String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Parameters:
resourceType- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
-
getResourceType
public String getResourceType()
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Returns:
- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
-
withResourceType
public StackEvent withResourceType(String resourceType)
Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)
- Parameters:
resourceType- Type of resource. (For more information, go to AWS Resource Types Reference in the AWS CloudFormation User Guide.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimestamp
public void setTimestamp(Date timestamp)
Time the status was updated.
- Parameters:
timestamp- Time the status was updated.
-
getTimestamp
public Date getTimestamp()
Time the status was updated.
- Returns:
- Time the status was updated.
-
withTimestamp
public StackEvent withTimestamp(Date timestamp)
Time the status was updated.
- Parameters:
timestamp- Time the status was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceStatus
public void setResourceStatus(String resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- See Also:
ResourceStatus
-
getResourceStatus
public String getResourceStatus()
Current status of the resource.
- Returns:
- Current status of the resource.
- See Also:
ResourceStatus
-
withResourceStatus
public StackEvent withResourceStatus(String resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus
-
setResourceStatus
public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- See Also:
ResourceStatus
-
withResourceStatus
public StackEvent withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.
- Parameters:
resourceStatus- Current status of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceStatus
-
setResourceStatusReason
public void setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason- Success/failure message associated with the resource.
-
getResourceStatusReason
public String getResourceStatusReason()
Success/failure message associated with the resource.
- Returns:
- Success/failure message associated with the resource.
-
withResourceStatusReason
public StackEvent withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.
- Parameters:
resourceStatusReason- Success/failure message associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceProperties
public void setResourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.
- Parameters:
resourceProperties- BLOB of the properties used to create the resource.
-
getResourceProperties
public String getResourceProperties()
BLOB of the properties used to create the resource.
- Returns:
- BLOB of the properties used to create the resource.
-
withResourceProperties
public StackEvent withResourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.
- Parameters:
resourceProperties- BLOB of the properties used to create the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StackEvent clone()
-
-