com.amazonaws.services.cloudformation.model
Class DescribeStackEventsRequest

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

public class DescribeStackEventsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeStackEvents operation.

Returns all stack related events for a specified stack. For more information about a stack's event history, go to Stacks in the AWS CloudFormation User Guide.

NOTE:You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).

See Also:
AmazonCloudFormation.describeStackEvents(DescribeStackEventsRequest), Serialized Form

Constructor Summary
DescribeStackEventsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getNextToken()
          String that identifies the start of the next list of events, if there is one.
 String getStackName()
          The name or the unique identifier associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID.
 int hashCode()
           
 void setNextToken(String nextToken)
          String that identifies the start of the next list of events, if there is one.
 void setStackName(String stackName)
          The name or the unique identifier associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeStackEventsRequest withNextToken(String nextToken)
          String that identifies the start of the next list of events, if there is one.
 DescribeStackEventsRequest withStackName(String stackName)
          The name or the unique identifier associated with the stack, which are not always interchangeable: Running stacks: You can specify either the stack's name or its unique stack ID. Deleted stacks: You must specify the unique stack ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeStackEventsRequest

public DescribeStackEventsRequest()
Method Detail

getStackName

public String getStackName()
The name or the unique identifier associated with the stack, which are not always interchangeable:

Default: There is no default value.

Returns:
The name or the unique identifier associated with the stack, which are not always interchangeable:
  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.


setStackName

public void setStackName(String stackName)
The name or the unique identifier associated with the stack, which are not always interchangeable:

Default: There is no default value.

Parameters:
stackName - The name or the unique identifier associated with the stack, which are not always interchangeable:
  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.


withStackName

public DescribeStackEventsRequest withStackName(String stackName)
The name or the unique identifier associated with the stack, which are not always interchangeable:

Default: There is no default value.

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

Parameters:
stackName - The name or the unique identifier associated with the stack, which are not always interchangeable:
  • Running stacks: You can specify either the stack's name or its unique stack ID.
  • Deleted stacks: You must specify the unique stack ID.

Default: There is no default value.

Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
String that identifies the start of the next list of events, if there is one.

Default: There is no default value.

Constraints:
Length: 1 - 1024

Returns:
String that identifies the start of the next list of events, if there is one.

Default: There is no default value.


setNextToken

public void setNextToken(String nextToken)
String that identifies the start of the next list of events, if there is one.

Default: There is no default value.

Constraints:
Length: 1 - 1024

Parameters:
nextToken - String that identifies the start of the next list of events, if there is one.

Default: There is no default value.


withNextToken

public DescribeStackEventsRequest withNextToken(String nextToken)
String that identifies the start of the next list of events, if there is one.

Default: There is no default value.

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

Constraints:
Length: 1 - 1024

Parameters:
nextToken - String that identifies the start of the next list of events, if there is one.

Default: There is no default value.

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 © 2016. All rights reserved.