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 interfaceGetLogRecordRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetLogRecordRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogRecordPointer()The pointer corresponding to the log event record you want to retrieve.List<SdkField<?>>sdkFields()static Class<? extends GetLogRecordRequest.Builder>serializableBuilderClass()GetLogRecordRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Booleanunmask()Specifytrueto 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
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
public final Boolean 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
public GetLogRecordRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest>- Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
public static GetLogRecordRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetLogRecordRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
-