Class EventLogEntry
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EventLogEntry.Builder,
EventLogEntry>
Information about an entry in an event log of Amazon CodeCatalyst activity.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventLogEntry.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The code of the error, if any.final String
The category for the event.final String
The name of the event.final String
The source of the event.final Instant
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.final String
The type of the event.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
The system-generated unique ID of the event.final OperationType
The type of the event.final String
The type of the event.final ProjectInformation
Information about the project where the event occurred.final String
The system-generated unique ID of the request.final EventPayload
Information about the payload of the request.final EventPayload
Information about the payload of the response, if any.static Class
<? extends EventLogEntry.Builder> final String
The IP address of the user whose actions are recorded in the event.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The user agent whose actions are recorded in the event.final UserIdentity
The system-generated unique ID of the user whose actions are recorded in the event.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The system-generated unique ID of the event.
- Returns:
- The system-generated unique ID of the event.
-
eventName
The name of the event.
- Returns:
- The name of the event.
-
eventType
The type of the event.
- Returns:
- The type of the event.
-
eventCategory
The category for the event.
- Returns:
- The category for the event.
-
eventSource
The source of the event.
- Returns:
- The source of the event.
-
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
The type of the event.
If the service returns an enum value that is not available in the current SDK version,
operationType
will returnOperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoperationTypeAsString()
.- Returns:
- The type of the event.
- See Also:
-
operationTypeAsString
The type of the event.
If the service returns an enum value that is not available in the current SDK version,
operationType
will returnOperationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoperationTypeAsString()
.- Returns:
- The type of the event.
- See Also:
-
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
Information about the project where the event occurred.
- Returns:
- Information about the project where the event occurred.
-
requestId
The system-generated unique ID of the request.
- Returns:
- The system-generated unique ID of the request.
-
requestPayload
Information about the payload of the request.
- Returns:
- Information about the payload of the request.
-
responsePayload
Information about the payload of the response, if any.
- Returns:
- Information about the payload of the response, if any.
-
errorCode
The code of the error, if any.
- Returns:
- The code of the error, if any.
-
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
The user agent whose actions are recorded in the event.
- Returns:
- The user agent whose actions are recorded in the event.
-
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 interfaceToCopyableBuilder<EventLogEntry.Builder,
EventLogEntry> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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
-
sdkFields
-