Interface PutInsightSelectorsResponse.Builder

    • Method Detail

      • trailARN

        PutInsightSelectorsResponse.Builder trailARN​(String trailARN)

        The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.

        Parameters:
        trailARN - The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightSelectors

        PutInsightSelectorsResponse.Builder insightSelectors​(Collection<InsightSelector> insightSelectors)

        A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight and ApiCallRateInsight.

        Parameters:
        insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight and ApiCallRateInsight.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightSelectors

        PutInsightSelectorsResponse.Builder insightSelectors​(InsightSelector... insightSelectors)

        A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight and ApiCallRateInsight.

        Parameters:
        insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight and ApiCallRateInsight.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightSelectors

        PutInsightSelectorsResponse.Builder insightSelectors​(Consumer<InsightSelector.Builder>... insightSelectors)

        A JSON string that contains the Insights event types that you want to log on a trail or event data store. The valid Insights types are ApiErrorRateInsight and ApiCallRateInsight.

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

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

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

        PutInsightSelectorsResponse.Builder eventDataStoreArn​(String eventDataStoreArn)

        The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.

        Parameters:
        eventDataStoreArn - The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights selectors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insightsDestination

        PutInsightSelectorsResponse.Builder insightsDestination​(String insightsDestination)

        The ARN of the destination event data store that logs Insights events.

        Parameters:
        insightsDestination - The ARN of the destination event data store that logs Insights events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.