public class DescribeStackEventsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for a DescribeStackEvents action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
If the output exceeds 1 MB in size, a string that identifies the next
page of events.
|
private SdkInternalList<StackEvent> |
stackEvents
A list of
StackEvents structures. |
Constructor and Description |
---|
DescribeStackEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStackEventsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next
page of events.
|
java.util.List<StackEvent> |
getStackEvents()
A list of
StackEvents structures. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next
page of events.
|
void |
setStackEvents(java.util.Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStackEventsResult |
withNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next
page of events.
|
DescribeStackEventsResult |
withStackEvents(java.util.Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
DescribeStackEventsResult |
withStackEvents(StackEvent... stackEvents)
A list of
StackEvents structures. |
private SdkInternalList<StackEvent> stackEvents
A list of StackEvents
structures.
private java.lang.String nextToken
If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.
public java.util.List<StackEvent> getStackEvents()
A list of StackEvents
structures.
StackEvents
structures.public void setStackEvents(java.util.Collection<StackEvent> stackEvents)
A list of StackEvents
structures.
stackEvents
- A list of StackEvents
structures.public DescribeStackEventsResult withStackEvents(StackEvent... stackEvents)
A list of 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.
stackEvents
- A list of StackEvents
structures.public DescribeStackEventsResult withStackEvents(java.util.Collection<StackEvent> stackEvents)
A list of StackEvents
structures.
stackEvents
- A list of StackEvents
structures.public void setNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.
nextToken
- If the output exceeds 1 MB in size, a string that identifies the
next page of events. If no additional page exists, this value is
null.public java.lang.String getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.
public DescribeStackEventsResult withNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.
nextToken
- If the output exceeds 1 MB in size, a string that identifies the
next page of events. If no additional page exists, this value is
null.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeStackEventsResult clone()
clone
in class java.lang.Object