@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) |
boolean |
equalsBySdkFields(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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 AwsResponse
public static GetLogEventsResponse.Builder builder()
public static Class<? extends GetLogEventsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2019. All rights reserved.