@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 |
logGroupIdentifier()
Specify either the name or ARN of the log group to view events from.
|
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.
|
Boolean |
unmask()
Specify
true to display the log event fields with all sensitive data unmasked and visible. |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String logGroupName()
The name of the log group.
You must include either logGroupIdentifier
or logGroupName
, but not both.
You must include either logGroupIdentifier
or logGroupName
, but not both.
public final String logGroupIdentifier()
Specify either the name or ARN of the log group to view events from. If the log group is in a source account and you are using a monitoring account, you must use the log group ARN.
You must include either logGroupIdentifier
or logGroupName
, but not both.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
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.
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 limit, the default 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 final Boolean unmask()
Specify true
to display the log event fields with all sensitive data unmasked and visible. The
default is false
.
To use this operation with this parameter, you must be signed into an account with the logs:Unmask
permission.
true
to display the log event fields with all sensitive data unmasked and visible.
The default is false
.
To use this operation with this parameter, you must be signed into an account with the
logs:Unmask
permission.
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 © 2023. All rights reserved.