Interface InstanceStatusEvent.Builder

    • Method Detail

      • instanceEventId

        InstanceStatusEvent.Builder instanceEventId​(String instanceEventId)

        The ID of the event.

        Parameters:
        instanceEventId - The ID of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        InstanceStatusEvent.Builder description​(String description)

        A description of the event.

        After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

        Parameters:
        description - A description of the event.

        After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].

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

        InstanceStatusEvent.Builder notAfter​(Instant notAfter)

        The latest scheduled end time for the event.

        Parameters:
        notAfter - The latest scheduled end time for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notBefore

        InstanceStatusEvent.Builder notBefore​(Instant notBefore)

        The earliest scheduled start time for the event.

        Parameters:
        notBefore - The earliest scheduled start time for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notBeforeDeadline

        InstanceStatusEvent.Builder notBeforeDeadline​(Instant notBeforeDeadline)

        The deadline for starting the event.

        Parameters:
        notBeforeDeadline - The deadline for starting the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.