Class GetLogRecordRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest
-
- software.amazon.awssdk.services.cloudwatchlogs.model.GetLogRecordRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetLogRecordRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GetLogRecordRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetLogRecordRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logRecordPointer()
The pointer corresponding to the log event record you want to retrieve.List<SdkField<?>>
sdkFields()
static Class<? extends GetLogRecordRequest.Builder>
serializableBuilderClass()
GetLogRecordRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
unmask()
Specifytrue
to display the log event fields with all sensitive data unmasked and visible.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logRecordPointer
public final String logRecordPointer()
The pointer corresponding to the log event record you want to retrieve. You get this from the response of a
GetQueryResults
operation. In that response, the value of the@ptr
field for a log event is the value to use aslogRecordPointer
to retrieve that complete log event record.- Returns:
- The pointer corresponding to the log event record you want to retrieve. You get this from the response of
a
GetQueryResults
operation. In that response, the value of the@ptr
field for a log event is the value to use aslogRecordPointer
to retrieve that complete log event record.
-
unmask
public final Boolean unmask()
Specify
true
to display the log event fields with all sensitive data unmasked and visible. The default isfalse
.To use this operation with this parameter, you must be signed into an account with the
logs:Unmask
permission.- Returns:
- Specify
true
to display the log event fields with all sensitive data unmasked and visible. The default isfalse
.To use this operation with this parameter, you must be signed into an account with the
logs:Unmask
permission.
-
toBuilder
public GetLogRecordRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest>
- Specified by:
toBuilder
in classCloudWatchLogsRequest
-
builder
public static GetLogRecordRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetLogRecordRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-