Interface GetInsightEventsResponse.Builder

    • Method Detail

      • insightEvents

        GetInsightEventsResponse.Builder insightEvents​(Collection<InsightEvent> insightEvents)

        A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.

        Parameters:
        insightEvents - A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightEvents

        GetInsightEventsResponse.Builder insightEvents​(InsightEvent... insightEvents)

        A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.

        Parameters:
        insightEvents - A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightEvents

        GetInsightEventsResponse.Builder insightEvents​(Consumer<InsightEvent.Builder>... insightEvents)

        A detailed description of the event. This includes the time of the event, client and root cause impact statistics, and the top anomalous service at the time of the event.

        This is a convenience method that creates an instance of the InsightEvent.Builder avoiding the need to create one manually via InsightEvent.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #insightEvents(List).

        Parameters:
        insightEvents - a consumer that will call methods on InsightEvent.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #insightEvents(java.util.Collection)
      • nextToken

        GetInsightEventsResponse.Builder nextToken​(String nextToken)

        Use this token to retrieve the next page of insight events.

        Parameters:
        nextToken - Use this token to retrieve the next page of insight events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.