Class DescribeStackEventsResult
- java.lang.Object
-
- com.amazonaws.services.cloudformation.model.DescribeStackEventsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeStackEventsResult extends Object implements Serializable, Cloneable
The output for a DescribeStackEvents action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeStackEventsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 ofStackEvents
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 ofStackEvents
structures.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeStackEventsResult
withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of events.DescribeStackEventsResult
withStackEvents(StackEvent... stackEvents)
A list ofStackEvents
structures.DescribeStackEventsResult
withStackEvents(Collection<StackEvent> stackEvents)
A list ofStackEvents
structures.
-
-
-
Method Detail
-
getStackEvents
public List<StackEvent> getStackEvents()
A list of
StackEvents
structures.- Returns:
- A list of
StackEvents
structures.
-
setStackEvents
public void setStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents
structures.- Parameters:
stackEvents
- A list ofStackEvents
structures.
-
withStackEvents
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)
orwithStackEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
stackEvents
- A list ofStackEvents
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStackEvents
public DescribeStackEventsResult withStackEvents(Collection<StackEvent> stackEvents)
A list of
StackEvents
structures.- Parameters:
stackEvents
- A list ofStackEvents
structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeStackEventsResult clone()
-
-