public class DescribeStackEventsResult extends Object implements Serializable, Cloneable
The output for a DescribeStackEvents action.
Constructor and Description |
---|
DescribeStackEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStackEventsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
String that identifies the start of the next list of events, if there
is one.
|
List<StackEvent> |
getStackEvents()
A list of
StackEvents structures. |
int |
hashCode() |
void |
setNextToken(String nextToken)
String that identifies the start of the next list of events, if there
is one.
|
void |
setStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStackEventsResult |
withNextToken(String nextToken)
String that identifies the start of the next list of events, if there
is one.
|
DescribeStackEventsResult |
withStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
DescribeStackEventsResult |
withStackEvents(StackEvent... stackEvents)
A list of
StackEvents structures. |
public List<StackEvent> getStackEvents()
StackEvents
structures.StackEvents
structures.public void setStackEvents(Collection<StackEvent> stackEvents)
StackEvents
structures.stackEvents
- A list of StackEvents
structures.public DescribeStackEventsResult withStackEvents(StackEvent... stackEvents)
StackEvents
structures.
NOTE: This method appends the values to the existing list (if
any). Use setStackEvents(java.util.Collection)
or withStackEvents(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
stackEvents
- A list of StackEvents
structures.public DescribeStackEventsResult withStackEvents(Collection<StackEvent> stackEvents)
StackEvents
structures.
Returns a reference to this object so that method calls can be chained together.
stackEvents
- A list of StackEvents
structures.public String getNextToken()
Constraints:
Length: 1 - 1024
public void setNextToken(String nextToken)
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of events, if there
is one.public DescribeStackEventsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of events, if there
is one.public String toString()
toString
in class Object
Object.toString()
public DescribeStackEventsResult clone()
Copyright © 2015. All rights reserved.