Interface EventLogEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventLogEntry.Builder,EventLogEntry>,SdkBuilder<EventLogEntry.Builder,EventLogEntry>,SdkPojo
- Enclosing class:
- EventLogEntry
public static interface EventLogEntry.Builder extends SdkPojo, CopyableBuilder<EventLogEntry.Builder,EventLogEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EventLogEntry.BuildererrorCode(String errorCode)The code of the error, if any.EventLogEntry.BuildereventCategory(String eventCategory)The category for the event.EventLogEntry.BuildereventName(String eventName)The name of the event.EventLogEntry.BuildereventSource(String eventSource)The source of the event.EventLogEntry.BuildereventTime(Instant eventTime)The time the event took place, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.EventLogEntry.BuildereventType(String eventType)The type of the event.EventLogEntry.Builderid(String id)The system-generated unique ID of the event.EventLogEntry.BuilderoperationType(String operationType)The type of the event.EventLogEntry.BuilderoperationType(OperationType operationType)The type of the event.default EventLogEntry.BuilderprojectInformation(Consumer<ProjectInformation.Builder> projectInformation)Information about the project where the event occurred.EventLogEntry.BuilderprojectInformation(ProjectInformation projectInformation)Information about the project where the event occurred.EventLogEntry.BuilderrequestId(String requestIdValue)The system-generated unique ID of the request.default EventLogEntry.BuilderrequestPayload(Consumer<EventPayload.Builder> requestPayload)Information about the payload of the request.EventLogEntry.BuilderrequestPayload(EventPayload requestPayload)Information about the payload of the request.default EventLogEntry.BuilderresponsePayload(Consumer<EventPayload.Builder> responsePayload)Information about the payload of the response, if any.EventLogEntry.BuilderresponsePayload(EventPayload responsePayload)Information about the payload of the response, if any.EventLogEntry.BuildersourceIpAddress(String sourceIpAddress)The IP address of the user whose actions are recorded in the event.EventLogEntry.BuilderuserAgent(String userAgent)The user agent whose actions are recorded in the event.default EventLogEntry.BuilderuserIdentity(Consumer<UserIdentity.Builder> userIdentity)The system-generated unique ID of the user whose actions are recorded in the event.EventLogEntry.BuilderuserIdentity(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 Detail
-
id
EventLogEntry.Builder id(String 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
EventLogEntry.Builder eventName(String 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
EventLogEntry.Builder eventType(String 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
EventLogEntry.Builder eventCategory(String 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
EventLogEntry.Builder eventSource(String 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
EventLogEntry.Builder eventTime(Instant 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
EventLogEntry.Builder operationType(String 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,OperationType
-
operationType
EventLogEntry.Builder operationType(OperationType 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,OperationType
-
userIdentity
EventLogEntry.Builder userIdentity(UserIdentity 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
default EventLogEntry.Builder userIdentity(Consumer<UserIdentity.Builder> 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.Builderavoiding the need to create one manually viaUserIdentity.builder().When the
Consumercompletes,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:
userIdentity(UserIdentity)
-
projectInformation
EventLogEntry.Builder projectInformation(ProjectInformation 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.Builderavoiding the need to create one manually viaProjectInformation.builder().When the
Consumercompletes,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:
projectInformation(ProjectInformation)
-
requestId
EventLogEntry.Builder requestId(String requestIdValue)
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
EventLogEntry.Builder requestPayload(EventPayload 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
default EventLogEntry.Builder requestPayload(Consumer<EventPayload.Builder> requestPayload)
Information about the payload of the request.
This is a convenience method that creates an instance of theEventPayload.Builderavoiding the need to create one manually viaEventPayload.builder().When the
Consumercompletes,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:
requestPayload(EventPayload)
-
responsePayload
EventLogEntry.Builder responsePayload(EventPayload 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
default EventLogEntry.Builder responsePayload(Consumer<EventPayload.Builder> responsePayload)
Information about the payload of the response, if any.
This is a convenience method that creates an instance of theEventPayload.Builderavoiding the need to create one manually viaEventPayload.builder().When the
Consumercompletes,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:
responsePayload(EventPayload)
-
errorCode
EventLogEntry.Builder errorCode(String 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
EventLogEntry.Builder sourceIpAddress(String 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
EventLogEntry.Builder userAgent(String 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.
-
-