Interface OperationEvent.Builder

    • Method Detail

      • description

        OperationEvent.Builder description​(String description)

        A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".

        Parameters:
        description - A description of the operation event. For example, "Stop the EC2 instance i-abcdefgh987654321".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        OperationEvent.Builder resource​(Resource resource)

        The resource involved in the operations event.

        Contains ResourceArn ARN and ResourceType.

        Parameters:
        resource - The resource involved in the operations event.

        Contains ResourceArn ARN and ResourceType.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        OperationEvent.Builder status​(String status)

        The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.

        Parameters:
        status - The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperationEventStatus, OperationEventStatus
      • status

        OperationEvent.Builder status​(OperationEventStatus status)

        The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.

        Parameters:
        status - The status of the operation event. The possible statuses are: IN_PROGRESS, COMPLETED, and FAILED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperationEventStatus, OperationEventStatus
      • statusMessage

        OperationEvent.Builder statusMessage​(String statusMessage)

        The status message relating to a specific operation event.

        Parameters:
        statusMessage - The status message relating to a specific operation event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        OperationEvent.Builder timestamp​(Instant timestamp)

        The timestamp of the specified operation event.

        Parameters:
        timestamp - The timestamp of the specified operation event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.