@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStackEventsResult extends AmazonWebServiceResult<ResponseMetadata> 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()
If the output exceeds 1 MB in size, a string that identifies the next page of events.
|
List<StackEvent> |
getStackEvents()
A list of
StackEvents structures. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of events.
|
void |
setStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
String |
toString()
Returns a string representation of this object.
|
DescribeStackEventsResult |
withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of events.
|
DescribeStackEventsResult |
withStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents structures. |
DescribeStackEventsResult |
withStackEvents(StackEvent... stackEvents)
A list of
StackEvents structures. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StackEvent> getStackEvents()
A list of StackEvents
structures.
StackEvents
structures.public void setStackEvents(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(Collection<StackEvent> stackEvents)
A list of StackEvents
structures.
stackEvents
- A list of StackEvents
structures.public void setNextToken(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 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(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 String toString()
toString
in class Object
Object.toString()
public DescribeStackEventsResult clone()