public class GetLogEventsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetLogEventsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<OutputLogEvent> |
getEvents()
The events.
|
java.lang.String |
getNextBackwardToken()
The token for the next set of items in the backward direction.
|
java.lang.String |
getNextForwardToken()
The token for the next set of items in the forward direction.
|
int |
hashCode() |
void |
setEvents(java.util.Collection<OutputLogEvent> events)
The events.
|
void |
setNextBackwardToken(java.lang.String nextBackwardToken)
The token for the next set of items in the backward direction.
|
void |
setNextForwardToken(java.lang.String nextForwardToken)
The token for the next set of items in the forward direction.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetLogEventsResult |
withEvents(java.util.Collection<OutputLogEvent> events)
The events.
|
GetLogEventsResult |
withEvents(OutputLogEvent... events)
The events.
|
GetLogEventsResult |
withNextBackwardToken(java.lang.String nextBackwardToken)
The token for the next set of items in the backward direction.
|
GetLogEventsResult |
withNextForwardToken(java.lang.String nextForwardToken)
The token for the next set of items in the forward direction.
|
public java.util.List<OutputLogEvent> getEvents()
The events.
The events.
public void setEvents(java.util.Collection<OutputLogEvent> events)
The events.
events
- The events.
public GetLogEventsResult withEvents(OutputLogEvent... events)
The events.
Returns a reference to this object so that method calls can be chained together.
events
- The events.
public GetLogEventsResult withEvents(java.util.Collection<OutputLogEvent> events)
The events.
Returns a reference to this object so that method calls can be chained together.
events
- The events.
public java.lang.String getNextForwardToken()
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
Constraints:
Length: 1 -
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
public void setNextForwardToken(java.lang.String nextForwardToken)
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
Constraints:
Length: 1 -
nextForwardToken
- The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
public GetLogEventsResult withNextForwardToken(java.lang.String nextForwardToken)
The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextForwardToken
- The token for the next set of items in the forward direction. The token expires after 24 hours. If you have reached the end of the stream, it will return the same token you passed in.
public java.lang.String getNextBackwardToken()
The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
Constraints:
Length: 1 -
The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
public void setNextBackwardToken(java.lang.String nextBackwardToken)
The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
Constraints:
Length: 1 -
nextBackwardToken
- The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
public GetLogEventsResult withNextBackwardToken(java.lang.String nextBackwardToken)
The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextBackwardToken
- The token for the next set of items in the backward direction. The token expires after 24 hours. This token will never be null. If you have reached the end of the stream, it will return the same token you passed in.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.