Class 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>
  • Method Details

    • 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 as logRecordPointer 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 as logRecordPointer 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 is false.

      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 is false.

      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 interface ToCopyableBuilder<GetLogRecordRequest.Builder,GetLogRecordRequest>
      Specified by:
      toBuilder in class CloudWatchLogsRequest
    • builder

      public static GetLogRecordRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetLogRecordRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo