Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudformation.model
Class StackEvent

java.lang.Object
  extended by com.amazonaws.services.cloudformation.model.StackEvent
All Implemented Interfaces:
Serializable

public class StackEvent
extends Object
implements Serializable

The StackEvent data type.

See Also:
Serialized Form

Constructor Summary
StackEvent()
           
 
Method Summary
 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 the 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 the 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 the 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackEvent

public StackEvent()
Method Detail

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.

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.

withStackId

public StackEvent withStackId(String stackId)
The unique ID name of the instance of the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The unique ID name of the instance of the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

getEventId

public String getEventId()
The unique ID of this event.

Returns:
The unique ID of this event.

setEventId

public void setEventId(String eventId)
The unique ID of this event.

Parameters:
eventId - The unique ID of this event.

withEventId

public StackEvent withEventId(String eventId)
The unique ID of this event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventId - The unique ID of this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackName

public String getStackName()
The name associated with a stack.

Returns:
The name associated with a stack.

setStackName

public void setStackName(String stackName)
The name associated with a stack.

Parameters:
stackName - The name associated with a stack.

withStackName

public StackEvent withStackName(String stackName)
The name associated with a stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackName - The name associated with a stack.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withLogicalResourceId

public StackEvent withLogicalResourceId(String logicalResourceId)
The logical name of the resource specified in the template.

Returns a reference to this object so that method calls can be chained together.

Parameters:
logicalResourceId - The logical name of the resource specified in the template.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withPhysicalResourceId

public StackEvent withPhysicalResourceId(String physicalResourceId)
The name or unique identifier associated with the physical instance of the resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
physicalResourceId - The name or unique identifier associated with the physical instance of the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceType

public String getResourceType()
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Returns:
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

setResourceType

public void setResourceType(String resourceType)
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Parameters:
resourceType - Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

withResourceType

public StackEvent withResourceType(String resourceType)
Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceType - Type of the resource. (For more information, go to the AWS CloudFormation User Guide.)
Returns:
A reference to this updated object so that method calls can be chained together.

getTimestamp

public Date getTimestamp()
Time the status was updated.

Returns:
Time the status was updated.

setTimestamp

public void setTimestamp(Date timestamp)
Time the status was updated.

Parameters:
timestamp - Time the status was updated.

withTimestamp

public StackEvent withTimestamp(Date timestamp)
Time the status was updated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timestamp - Time the status was updated.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceStatus

public String getResourceStatus()
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Returns:
Current status of the resource.
See Also:
ResourceStatus

setResourceStatus

public void setResourceStatus(String resourceStatus)
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Parameters:
resourceStatus - Current status of the resource.
See Also:
ResourceStatus

withResourceStatus

public StackEvent withResourceStatus(String resourceStatus)
Current status of the resource.

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

Parameters:
resourceStatus - Current status of the resource.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceStatus

setResourceStatus

public void setResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.

Constraints:
Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_FAILED, UPDATE_COMPLETE

Parameters:
resourceStatus - Current status of the resource.
See Also:
ResourceStatus

withResourceStatus

public StackEvent withResourceStatus(ResourceStatus resourceStatus)
Current status of the resource.

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

Parameters:
resourceStatus - Current status of the resource.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ResourceStatus

getResourceStatusReason

public String getResourceStatusReason()
Success/failure message associated with the resource.

Returns:
Success/failure message associated with the resource.

setResourceStatusReason

public void setResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.

Parameters:
resourceStatusReason - Success/failure message associated with the resource.

withResourceStatusReason

public StackEvent withResourceStatusReason(String resourceStatusReason)
Success/failure message associated with the resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceStatusReason - Success/failure message associated with the resource.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceProperties

public String getResourceProperties()
BLOB of the properties used to create the resource.

Returns:
BLOB of the properties used to create the resource.

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.

withResourceProperties

public StackEvent withResourceProperties(String resourceProperties)
BLOB of the properties used to create the resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceProperties - BLOB of the properties used to create the resource.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.