@Generated(value="software.amazon.awssdk:codegen") public final class GetLogEventsResponse extends CloudWatchLogsResponse implements ToCopyableBuilder<GetLogEventsResponse.Builder,GetLogEventsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLogEventsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLogEventsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
List<OutputLogEvent> |
events()
The events.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
nextBackwardToken()
The token for the next set of items in the backward direction.
|
String |
nextForwardToken()
The token for the next set of items in the forward direction.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLogEventsResponse.Builder> |
serializableBuilderClass() |
GetLogEventsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<OutputLogEvent> events()
The events.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public 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.
public GetLogEventsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetLogEventsResponse.Builder,GetLogEventsResponse>toBuilder in class AwsResponsepublic static GetLogEventsResponse.Builder builder()
public static Class<? extends GetLogEventsResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.