Interface Event.Builder

    • Method Detail

      • sourceIdentifier

        Event.Builder sourceIdentifier​(String sourceIdentifier)

        Provides the identifier for the source of the event.

        Parameters:
        sourceIdentifier - Provides the identifier for the source of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceType

        Event.Builder sourceType​(String sourceType)

        Specifies the source type for this event.

        Parameters:
        sourceType - Specifies the source type for this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • sourceType

        Event.Builder sourceType​(SourceType sourceType)

        Specifies the source type for this event.

        Parameters:
        sourceType - Specifies the source type for this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • message

        Event.Builder message​(String message)

        Provides the text of this event.

        Parameters:
        message - Provides the text of this event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventCategories

        Event.Builder eventCategories​(Collection<String> eventCategories)

        Specifies the category for the event.

        Parameters:
        eventCategories - Specifies the category for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventCategories

        Event.Builder eventCategories​(String... eventCategories)

        Specifies the category for the event.

        Parameters:
        eventCategories - Specifies the category for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • date

        Event.Builder date​(Instant date)

        Specifies the date and time of the event.

        Parameters:
        date - Specifies the date and time of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceArn

        Event.Builder sourceArn​(String sourceArn)

        The Amazon Resource Name (ARN) for the event.

        Parameters:
        sourceArn - The Amazon Resource Name (ARN) for the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.