@Generated(value="software.amazon.awssdk:codegen") public final class GetLogEventsRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<GetLogEventsRequest.Builder,GetLogEventsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLogEventsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLogEventsRequest.Builder |
builder() |
Long |
endTime()
The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The maximum number of log events returned.
|
String |
logGroupName()
The name of the log group.
|
String |
logStreamName()
The name of the log stream.
|
String |
nextToken()
The token for the next set of items to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLogEventsRequest.Builder> |
serializableBuilderClass() |
Boolean |
startFromHead()
If the value is true, the earliest log events are returned first.
|
Long |
startTime()
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
|
GetLogEventsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String logGroupName()
The name of the log group.
public String logStreamName()
The name of the log stream.
public Long startTime()
The start of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to this time or later than this time are included. Events with a timestamp earlier than this time are not included.
public Long endTime()
The end of the time range, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp equal to or later than this time are not included.
public String nextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public Integer limit()
The maximum number of log events returned. If you don't specify a value, the maximum is as many log events as can fit in a response size of 1 MB, up to 10,000 log events.
public Boolean startFromHead()
If the value is true, the earliest log events are returned first. If the value is false, the latest log events are returned first. The default value is false.
public GetLogEventsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetLogEventsRequest.Builder,GetLogEventsRequest>toBuilder in class CloudWatchLogsRequestpublic static GetLogEventsRequest.Builder builder()
public static Class<? extends GetLogEventsRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.