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 Details

    • 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:
    • 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:
    • eventType

      ActionHistory.Builder eventType(String eventType)

      This distinguishes between whether the events are triggered by the user or are generated by the system.

      Parameters:
      eventType - This distinguishes between whether the events are triggered by the user or are generated by the system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eventType

      ActionHistory.Builder eventType(EventType eventType)

      This distinguishes between whether the events are triggered by the user or are generated by the system.

      Parameters:
      eventType - This distinguishes between whether the events are triggered by the user or are generated by the system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ActionHistoryDetails.Builder avoiding the need to create one manually via ActionHistoryDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actionHistoryDetails(ActionHistoryDetails).

      Parameters:
      actionHistoryDetails - a consumer that will call methods on ActionHistoryDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: