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.
insightSelectors - A JSON string that contains the insight types you want to log on a trail.
ApiCallRateInsight and ApiErrorRateInsight are valid insight types.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.
insightSelectors - A JSON string that contains the insight types you want to log on a trail.
ApiCallRateInsight and ApiErrorRateInsight are valid insight types.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.
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.