@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) |
boolean |
equalsBySdkFields(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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.)
Using this token works only when you specify true
for startFromHead
.
Using this token works only when you specify true
for startFromHead
.
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.
If you are using nextToken
in this operation, you must specify true
for
startFromHead
.
If you are using nextToken
in this operation, you must specify true
for
startFromHead
.
public GetLogEventsRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetLogEventsRequest.Builder,GetLogEventsRequest>
toBuilder
in class CloudWatchLogsRequest
public static GetLogEventsRequest.Builder builder()
public static Class<? extends GetLogEventsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
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 SdkRequest
Copyright © 2020. All rights reserved.