public class GetLogEventsResult extends Object implements Serializable
Constructor and Description |
---|
GetLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<OutputLogEvent> |
getEvents()
Returns the value of the Events property for this object.
|
String |
getNextBackwardToken()
A string token used for pagination that points to the next page of
results.
|
String |
getNextForwardToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setEvents(Collection<OutputLogEvent> events)
Sets the value of the Events property for this object.
|
void |
setNextBackwardToken(String nextBackwardToken)
A string token used for pagination that points to the next page of
results.
|
void |
setNextForwardToken(String nextForwardToken)
A string token used for pagination that points to the next page of
results.
|
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)
A string token used for pagination that points to the next page of
results.
|
GetLogEventsResult |
withNextForwardToken(String nextForwardToken)
A string token used for pagination that points to the next page of
results.
|
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)
Returns a reference to this object so that method calls can be chained together.
events
- The new value for the Events property for this object.public GetLogEventsResult withEvents(Collection<OutputLogEvent> events)
Returns a reference to this object so that method calls can be chained together.
events
- The new value for the Events property for this object.public String getNextForwardToken()
public void setNextForwardToken(String nextForwardToken)
nextForwardToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public GetLogEventsResult withNextForwardToken(String nextForwardToken)
Returns a reference to this object so that method calls can be chained together.
nextForwardToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public String getNextBackwardToken()
public void setNextBackwardToken(String nextBackwardToken)
nextBackwardToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public GetLogEventsResult withNextBackwardToken(String nextBackwardToken)
Returns a reference to this object so that method calls can be chained together.
nextBackwardToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
request. The token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.