Interface ActionHistory.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActionHistory.Builder,ActionHistory>,SdkBuilder<ActionHistory.Builder,ActionHistory>,SdkPojo
- Enclosing class:
- ActionHistory
public static interface ActionHistory.Builder extends SdkPojo, CopyableBuilder<ActionHistory.Builder,ActionHistory>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ActionHistory.BuilderactionHistoryDetails(Consumer<ActionHistoryDetails.Builder> actionHistoryDetails)The description of the details for the event.ActionHistory.BuilderactionHistoryDetails(ActionHistoryDetails actionHistoryDetails)The description of the details for the event.ActionHistory.BuildereventType(String eventType)This distinguishes between whether the events are triggered by the user or are generated by the system.ActionHistory.BuildereventType(EventType eventType)This distinguishes between whether the events are triggered by the user or are generated by the system.ActionHistory.Builderstatus(String status)The status of action at the time of the event.ActionHistory.Builderstatus(ActionStatus status)The status of action at the time of the event.ActionHistory.Buildertimestamp(Instant timestamp)Sets the value of the Timestamp property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timestamp
ActionHistory.Builder timestamp(Instant timestamp)
Sets the value of the Timestamp property for this object.- Parameters:
timestamp- The new value for the Timestamp property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ActionHistory.Builder status(String status)
The status of action at the time of the event.
- Parameters:
status- The status of action at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus,ActionStatus
-
status
ActionHistory.Builder status(ActionStatus status)
The status of action at the time of the event.
- Parameters:
status- The status of action at the time of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionStatus,ActionStatus
-
eventType
ActionHistory.Builder eventType(String eventType)
This distinguishes between whether the events are triggered by the user or are generated by the system.
-
eventType
ActionHistory.Builder eventType(EventType eventType)
This distinguishes between whether the events are triggered by the user or are generated by the system.
-
actionHistoryDetails
ActionHistory.Builder actionHistoryDetails(ActionHistoryDetails actionHistoryDetails)
The description of the details for the event.
- Parameters:
actionHistoryDetails- The description of the details for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionHistoryDetails
default ActionHistory.Builder actionHistoryDetails(Consumer<ActionHistoryDetails.Builder> actionHistoryDetails)
The description of the details for the event.
This is a convenience method that creates an instance of theActionHistoryDetails.Builderavoiding the need to create one manually viaActionHistoryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionHistoryDetails(ActionHistoryDetails).- Parameters:
actionHistoryDetails- a consumer that will call methods onActionHistoryDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actionHistoryDetails(ActionHistoryDetails)
-
-