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 -
Method Summary
Modifier and TypeMethodDescriptionstatic GetLogRecordRequest.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe pointer corresponding to the log event record you want to retrieve.static Class<? extends GetLogRecordRequest.Builder>final StringtoString()Returns a string representation of this object.final Booleanunmask()Specifytrueto display the log event fields with all sensitive data unmasked and visible.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
logRecordPointer
The pointer corresponding to the log event record you want to retrieve. You get this from the response of a
GetQueryResultsoperation. In that response, the value of the@ptrfield for a log event is the value to use aslogRecordPointerto 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
GetQueryResultsoperation. In that response, the value of the@ptrfield for a log event is the value to use aslogRecordPointerto retrieve that complete log event record.
-
unmask
Specify
trueto 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:Unmaskpermission.- Returns:
- Specify
trueto 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:Unmaskpermission.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest> - Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-