java.lang.Object
software.amazon.awssdk.services.codecatalyst.model.EventLogEntry
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<EventLogEntry.Builder,EventLogEntry>

@Generated("software.amazon.awssdk:codegen") public final class EventLogEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventLogEntry.Builder,EventLogEntry>

Information about an entry in an event log of Amazon CodeCatalyst activity.

See Also:
  • Method Details

    • id

      public final String id()

      The system-generated unique ID of the event.

      Returns:
      The system-generated unique ID of the event.
    • eventName

      public final String eventName()

      The name of the event.

      Returns:
      The name of the event.
    • eventType

      public final String eventType()

      The type of the event.

      Returns:
      The type of the event.
    • eventCategory

      public final String eventCategory()

      The category for the event.

      Returns:
      The category for the event.
    • eventSource

      public final String eventSource()

      The source of the event.

      Returns:
      The source of the event.
    • eventTime

      public final Instant eventTime()

      The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

      Returns:
      The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
    • operationType

      public final OperationType operationType()

      The type of the event.

      If the service returns an enum value that is not available in the current SDK version, operationType will return OperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationTypeAsString().

      Returns:
      The type of the event.
      See Also:
    • operationTypeAsString

      public final String operationTypeAsString()

      The type of the event.

      If the service returns an enum value that is not available in the current SDK version, operationType will return OperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from operationTypeAsString().

      Returns:
      The type of the event.
      See Also:
    • userIdentity

      public final UserIdentity userIdentity()

      The system-generated unique ID of the user whose actions are recorded in the event.

      Returns:
      The system-generated unique ID of the user whose actions are recorded in the event.
    • projectInformation

      public final ProjectInformation projectInformation()

      Information about the project where the event occurred.

      Returns:
      Information about the project where the event occurred.
    • requestId

      public final String requestId()

      The system-generated unique ID of the request.

      Returns:
      The system-generated unique ID of the request.
    • requestPayload

      public final EventPayload requestPayload()

      Information about the payload of the request.

      Returns:
      Information about the payload of the request.
    • responsePayload

      public final EventPayload responsePayload()

      Information about the payload of the response, if any.

      Returns:
      Information about the payload of the response, if any.
    • errorCode

      public final String errorCode()

      The code of the error, if any.

      Returns:
      The code of the error, if any.
    • sourceIpAddress

      public final String sourceIpAddress()

      The IP address of the user whose actions are recorded in the event.

      Returns:
      The IP address of the user whose actions are recorded in the event.
    • userAgent

      public final String userAgent()

      The user agent whose actions are recorded in the event.

      Returns:
      The user agent whose actions are recorded in the event.
    • toBuilder

      public EventLogEntry.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<EventLogEntry.Builder,EventLogEntry>
      Returns:
      a builder for type T
    • builder

      public static EventLogEntry.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.