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 insight types you want to log on a trail.
|
PutInsightSelectorsResponse.Builder |
insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsResponse.Builder |
insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types 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 insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.PutInsightSelectorsResponse.Builder insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.PutInsightSelectorsResponse.Builder insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release, only
ApiCallRateInsight is supported as an insight type.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #insightSelectors(List) .insightSelectors - a consumer that will call methods on List.Builder #insightSelectors(List) Copyright © 2020. All rights reserved.