@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFleetEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFleetEventsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFleetEventsResult |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
A collection of objects containing event log entries for the specified fleet.
|
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
int |
hashCode() |
void |
setEvents(Collection<Event> events)
A collection of objects containing event log entries for the specified fleet.
|
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFleetEventsResult |
withEvents(Collection<Event> events)
A collection of objects containing event log entries for the specified fleet.
|
DescribeFleetEventsResult |
withEvents(Event... events)
A collection of objects containing event log entries for the specified fleet.
|
DescribeFleetEventsResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Event> getEvents()
A collection of objects containing event log entries for the specified fleet.
public void setEvents(Collection<Event> events)
A collection of objects containing event log entries for the specified fleet.
events
- A collection of objects containing event log entries for the specified fleet.public DescribeFleetEventsResult withEvents(Event... events)
A collection of objects containing event log entries for the specified fleet.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
or withEvents(java.util.Collection)
if you want to override the
existing values.
events
- A collection of objects containing event log entries for the specified fleet.public DescribeFleetEventsResult withEvents(Collection<Event> events)
A collection of objects containing event log entries for the specified fleet.
events
- A collection of objects containing event log entries for the specified fleet.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public DescribeFleetEventsResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public DescribeFleetEventsResult clone()