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. 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.PutInsightSelectorsRequest.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.PutInsightSelectorsRequest.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) PutInsightSelectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutInsightSelectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.