@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLogEventsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
GetLogEventsResult |
clone() |
boolean |
equals(Object obj) |
List<OutputLogEvent> |
getEvents()
The events.
|
String |
getNextBackwardToken()
The token for the next set of items in the backward direction.
|
String |
getNextForwardToken()
The token for the next set of items in the forward direction.
|
int |
hashCode() |
void |
setEvents(Collection<OutputLogEvent> events)
The events.
|
void |
setNextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction.
|
void |
setNextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetLogEventsResult |
withEvents(Collection<OutputLogEvent> events)
The events.
|
GetLogEventsResult |
withEvents(OutputLogEvent... events)
The events.
|
GetLogEventsResult |
withNextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction.
|
GetLogEventsResult |
withNextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<OutputLogEvent> getEvents()
The events.
public void setEvents(Collection<OutputLogEvent> events)
The events.
events
- The events.public GetLogEventsResult withEvents(OutputLogEvent... events)
The 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 events.public GetLogEventsResult withEvents(Collection<OutputLogEvent> events)
The events.
events
- The events.public void setNextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction. The token expires after 24 hours.
nextForwardToken
- The token for the next set of items in the forward direction. The token expires after 24 hours.public String getNextForwardToken()
The token for the next set of items in the forward direction. The token expires after 24 hours.
public GetLogEventsResult withNextForwardToken(String nextForwardToken)
The token for the next set of items in the forward direction. The token expires after 24 hours.
nextForwardToken
- The token for the next set of items in the forward direction. The token expires after 24 hours.public void setNextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction. The token expires after 24 hours.
nextBackwardToken
- The token for the next set of items in the backward direction. The token expires after 24 hours.public String getNextBackwardToken()
The token for the next set of items in the backward direction. The token expires after 24 hours.
public GetLogEventsResult withNextBackwardToken(String nextBackwardToken)
The token for the next set of items in the backward direction. The token expires after 24 hours.
nextBackwardToken
- The token for the next set of items in the backward direction. The token expires after 24 hours.public String toString()
toString
in class Object
Object.toString()
public GetLogEventsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.