Interface Event.Builder

    • Method Detail

      • resourceCollection

        Event.Builder resourceCollection​(ResourceCollection resourceCollection)
        Sets the value of the ResourceCollection property for this object.
        Parameters:
        resourceCollection - The new value for the ResourceCollection property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Event.Builder id​(String id)

        The ID of the event.

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

        Event.Builder time​(Instant time)

        A Timestamp that specifies the time the event occurred.

        Parameters:
        time - A Timestamp that specifies the time the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventSource

        Event.Builder eventSource​(String eventSource)

        The Amazon Web Services source that emitted the event.

        Parameters:
        eventSource - The Amazon Web Services source that emitted the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Event.Builder name​(String name)

        The name of the event.

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

        Event.Builder dataSource​(String dataSource)

        The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.

        Parameters:
        dataSource - The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventDataSource, EventDataSource
      • dataSource

        Event.Builder dataSource​(EventDataSource dataSource)

        The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.

        Parameters:
        dataSource - The source, AWS_CLOUD_TRAIL or AWS_CODE_DEPLOY, where DevOps Guru analysis found the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventDataSource, EventDataSource
      • eventClass

        Event.Builder eventClass​(String eventClass)

        The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.

        Parameters:
        eventClass - The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventClass, EventClass
      • eventClass

        Event.Builder eventClass​(EventClass eventClass)

        The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.

        Parameters:
        eventClass - The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EventClass, EventClass
      • resources

        Event.Builder resources​(Collection<EventResource> resources)

        An EventResource object that contains information about the resource that emitted the event.

        Parameters:
        resources - An EventResource object that contains information about the resource that emitted the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        Event.Builder resources​(EventResource... resources)

        An EventResource object that contains information about the resource that emitted the event.

        Parameters:
        resources - An EventResource object that contains information about the resource that emitted the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.