public static interface GetInsightSelectorsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetInsightSelectorsResponse.Builder,GetInsightSelectorsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetInsightSelectorsResponse.Builder |
insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
GetInsightSelectorsResponse.Builder |
insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
GetInsightSelectorsResponse.Builder |
insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
GetInsightSelectorsResponse.Builder |
trailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetInsightSelectorsResponse.Builder trailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
trailARN - The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.GetInsightSelectorsResponse.Builder insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release,
ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release,
ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.GetInsightSelectorsResponse.Builder insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release,
ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.
insightSelectors - A JSON string that contains the insight types you want to log on a trail. In this release,
ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.GetInsightSelectorsResponse.Builder insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. In this release,
ApiErrorRateInsight and ApiCallRateInsight are supported as insight types.
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 © 2022. All rights reserved.