public class GetLogEventsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
GetLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
GetLogEventsResult |
clone() |
boolean |
equals(Object obj) |
List<OutputLogEvent> |
getEvents()
Returns the value of the Events property for this object.
|
String |
getNextBackwardToken()
Returns the value of the NextBackwardToken property for this object.
|
String |
getNextForwardToken()
Returns the value of the NextForwardToken property for this object.
|
int |
hashCode() |
void |
setEvents(Collection<OutputLogEvent> events)
Sets the value of the Events property for this object.
|
void |
setNextBackwardToken(String nextBackwardToken)
Sets the value of the NextBackwardToken property for this object.
|
void |
setNextForwardToken(String nextForwardToken)
Sets the value of the NextForwardToken property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetLogEventsResult |
withEvents(Collection<OutputLogEvent> events)
Sets the value of the Events property for this object.
|
GetLogEventsResult |
withEvents(OutputLogEvent... events)
Sets the value of the Events property for this object.
|
GetLogEventsResult |
withNextBackwardToken(String nextBackwardToken)
Sets the value of the NextBackwardToken property for this object.
|
GetLogEventsResult |
withNextForwardToken(String nextForwardToken)
Sets the value of the NextForwardToken property for this object.
|
public List<OutputLogEvent> getEvents()
public void setEvents(Collection<OutputLogEvent> events)
events
- The new value for the Events property for this object.public GetLogEventsResult withEvents(OutputLogEvent... events)
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
- The new value for the Events property for this object.public GetLogEventsResult withEvents(Collection<OutputLogEvent> events)
events
- The new value for the Events property for this object.public void setNextForwardToken(String nextForwardToken)
nextForwardToken
- The new value for the NextForwardToken property for this object.public String getNextForwardToken()
public GetLogEventsResult withNextForwardToken(String nextForwardToken)
nextForwardToken
- The new value for the NextForwardToken property for this object.public void setNextBackwardToken(String nextBackwardToken)
nextBackwardToken
- The new value for the NextBackwardToken property for this object.public String getNextBackwardToken()
public GetLogEventsResult withNextBackwardToken(String nextBackwardToken)
nextBackwardToken
- The new value for the NextBackwardToken property for this object.public String toString()
toString
in class Object
Object.toString()
public GetLogEventsResult clone()
Copyright © 2015. All rights reserved.