public static interface CreateInsightRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateInsightRequest.Builder |
filters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight.
|
default CreateInsightRequest.Builder |
filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
One or more attributes used to filter the findings included in the insight.
|
CreateInsightRequest.Builder |
groupByAttribute(String groupByAttribute)
The attribute used to group the findings for the insight.
|
CreateInsightRequest.Builder |
name(String name)
The name of the custom insight to create.
|
CreateInsightRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateInsightRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateInsightRequest.Builder name(String name)
The name of the custom insight to create.
name - The name of the custom insight to create.CreateInsightRequest.Builder filters(AwsSecurityFindingFilters filters)
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
filters - One or more attributes used to filter the findings included in the insight. The insight only includes
findings that match the criteria defined in the filters.default CreateInsightRequest.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
One or more attributes used to filter the findings included in the insight. The insight only includes findings that match the criteria defined in the filters.
This is a convenience method that creates an instance of theAwsSecurityFindingFilters.Builder
avoiding the need to create one manually via AwsSecurityFindingFilters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to filters(AwsSecurityFindingFilters).
filters - a consumer that will call methods on AwsSecurityFindingFilters.Builderfilters(AwsSecurityFindingFilters)CreateInsightRequest.Builder groupByAttribute(String groupByAttribute)
The attribute used to group the findings for the insight. The grouping attribute identifies the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then the insight produces a list of resource identifiers.
groupByAttribute - The attribute used to group the findings for the insight. The grouping attribute identifies the type
of item that the insight applies to. For example, if an insight is grouped by resource identifier,
then the insight produces a list of resource identifiers.CreateInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.