public static interface PutInsightSelectorsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<PutInsightSelectorsResponse.Builder,PutInsightSelectorsResponse>
| Modifier and Type | Method and Description |
|---|---|
PutInsightSelectorsResponse.Builder |
insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail.
|
PutInsightSelectorsResponse.Builder |
insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail.
|
PutInsightSelectorsResponse.Builder |
insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail.
|
PutInsightSelectorsResponse.Builder |
trailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutInsightSelectorsResponse.Builder trailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.
trailARN - The Amazon Resource Name (ARN) of a trail for which you want to change or add Insights selectors.PutInsightSelectorsResponse.Builder insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight and ApiCallRateInsight.
insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail. The valid
Insights types in this release are ApiErrorRateInsight and
ApiCallRateInsight.PutInsightSelectorsResponse.Builder insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight and ApiCallRateInsight.
insightSelectors - A JSON string that contains the Insights event types that you want to log on a trail. The valid
Insights types in this release are ApiErrorRateInsight and
ApiCallRateInsight.PutInsightSelectorsResponse.Builder insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the Insights event types that you want to log on a trail. The valid Insights
types in this release are ApiErrorRateInsight and ApiCallRateInsight.
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.
insightSelectors - a consumer that will call methods on
InsightSelector.Builder#insightSelectors(java.util.Collection) Copyright © 2023. All rights reserved.