public static interface PutInsightSelectorsRequest.Builder extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<PutInsightSelectorsRequest.Builder,PutInsightSelectorsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutInsightSelectorsRequest.Builder |
insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsRequest.Builder |
insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsRequest.Builder |
insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail.
|
PutInsightSelectorsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutInsightSelectorsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutInsightSelectorsRequest.Builder |
trailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutInsightSelectorsRequest.Builder trailName(String trailName)
The name of the CloudTrail trail for which you want to change or add Insights selectors.
trailName - The name of the CloudTrail trail for which you want to change or add Insights selectors.PutInsightSelectorsRequest.Builder insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.
The error is shown if the API call is unsuccessful.
insightSelectors - A JSON string that contains the insight types you want to log on a trail.
ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
PutInsightSelectorsRequest.Builder insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.
The error is shown if the API call is unsuccessful.
insightSelectors - A JSON string that contains the insight types you want to log on a trail.
ApiCallRateInsight and ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error
codes. The error is shown if the API call is unsuccessful.
PutInsightSelectorsRequest.Builder insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the insight types you want to log on a trail. ApiCallRateInsight and
ApiErrorRateInsight are valid Insight types.
The ApiCallRateInsight Insights type analyzes write-only management API calls that are
aggregated per minute against a baseline API call volume.
The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.
The error is shown if the API call is unsuccessful.
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) PutInsightSelectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutInsightSelectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.