@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 final String logGroupName()
The name of the log group.
public final String logStreamName()
The name of the log stream.
public final 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 final 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 final String nextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public final 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 final 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 a previous nextForwardToken
value as the nextToken
in this operation,
you must specify true
for startFromHead
.
If you are using a previous nextForwardToken
value as the 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 final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.