Interface EventLogEntry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventLogEntry.Builder,
,EventLogEntry> SdkBuilder<EventLogEntry.Builder,
,EventLogEntry> SdkPojo
- Enclosing class:
EventLogEntry
-
Method Summary
Modifier and TypeMethodDescriptionThe code of the error, if any.eventCategory
(String eventCategory) The category for the event.The name of the event.eventSource
(String eventSource) The source of the event.The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.The type of the event.The system-generated unique ID of the event.operationType
(String operationType) The type of the event.operationType
(OperationType operationType) The type of the event.default EventLogEntry.Builder
projectInformation
(Consumer<ProjectInformation.Builder> projectInformation) Information about the project where the event occurred.projectInformation
(ProjectInformation projectInformation) Information about the project where the event occurred.The system-generated unique ID of the request.default EventLogEntry.Builder
requestPayload
(Consumer<EventPayload.Builder> requestPayload) Information about the payload of the request.requestPayload
(EventPayload requestPayload) Information about the payload of the request.default EventLogEntry.Builder
responsePayload
(Consumer<EventPayload.Builder> responsePayload) Information about the payload of the response, if any.responsePayload
(EventPayload responsePayload) Information about the payload of the response, if any.sourceIpAddress
(String sourceIpAddress) The IP address of the user whose actions are recorded in the event.The user agent whose actions are recorded in the event.default EventLogEntry.Builder
userIdentity
(Consumer<UserIdentity.Builder> userIdentity) The system-generated unique ID of the user whose actions are recorded in the event.userIdentity
(UserIdentity 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The system-generated unique ID of the event.
- Parameters:
id
- The system-generated unique ID of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventName
The name of the event.
- Parameters:
eventName
- The name of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The type of the event.
- Parameters:
eventType
- The type of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventCategory
The category for the event.
- Parameters:
eventCategory
- The category for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSource
The source of the event.
- Parameters:
eventSource
- The source of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTime
The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
- Parameters:
eventTime
- The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationType
The type of the event.
- Parameters:
operationType
- The type of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
The type of the event.
- Parameters:
operationType
- The type of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userIdentity
The system-generated unique ID of the user whose actions are recorded in the event.
- Parameters:
userIdentity
- The system-generated unique ID of the user whose actions are recorded in the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIdentity
The system-generated unique ID of the user whose actions are recorded in the event.
This is a convenience method that creates an instance of theUserIdentity.Builder
avoiding the need to create one manually viaUserIdentity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserIdentity(UserIdentity)
.- Parameters:
userIdentity
- a consumer that will call methods onUserIdentity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectInformation
Information about the project where the event occurred.
- Parameters:
projectInformation
- Information about the project where the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectInformation
default EventLogEntry.Builder projectInformation(Consumer<ProjectInformation.Builder> projectInformation) Information about the project where the event occurred.
This is a convenience method that creates an instance of theProjectInformation.Builder
avoiding the need to create one manually viaProjectInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectInformation(ProjectInformation)
.- Parameters:
projectInformation
- a consumer that will call methods onProjectInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestId
The system-generated unique ID of the request.
- Parameters:
requestIdValue
- The system-generated unique ID of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestPayload
Information about the payload of the request.
- Parameters:
requestPayload
- Information about the payload of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestPayload
Information about the payload of the request.
This is a convenience method that creates an instance of theEventPayload.Builder
avoiding the need to create one manually viaEventPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestPayload(EventPayload)
.- Parameters:
requestPayload
- a consumer that will call methods onEventPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responsePayload
Information about the payload of the response, if any.
- Parameters:
responsePayload
- Information about the payload of the response, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responsePayload
Information about the payload of the response, if any.
This is a convenience method that creates an instance of theEventPayload.Builder
avoiding the need to create one manually viaEventPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponsePayload(EventPayload)
.- Parameters:
responsePayload
- a consumer that will call methods onEventPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The code of the error, if any.
- Parameters:
errorCode
- The code of the error, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceIpAddress
The IP address of the user whose actions are recorded in the event.
- Parameters:
sourceIpAddress
- The IP address of the user whose actions are recorded in the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userAgent
The user agent whose actions are recorded in the event.
- Parameters:
userAgent
- The user agent whose actions are recorded in the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-