Interface CreateInsightRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>,SdkBuilder<CreateInsightRequest.Builder,CreateInsightRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- CreateInsightRequest
public static interface CreateInsightRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<CreateInsightRequest.Builder,CreateInsightRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateInsightRequest.Builderfilters(Consumer<AwsSecurityFindingFilters.Builder> filters)One or more attributes used to filter the findings included in the insight.CreateInsightRequest.Builderfilters(AwsSecurityFindingFilters filters)One or more attributes used to filter the findings included in the insight.CreateInsightRequest.BuildergroupByAttribute(String groupByAttribute)The attribute used to group the findings for the insight.CreateInsightRequest.Buildername(String name)The name of the custom insight to create.CreateInsightRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateInsightRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
-
-
-
Method Detail
-
name
CreateInsightRequest.Builder name(String name)
The name of the custom insight to create.
- Parameters:
name- The name of the custom insight to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaAwsSecurityFindingFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(AwsSecurityFindingFilters).- Parameters:
filters- a consumer that will call methods onAwsSecurityFindingFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(AwsSecurityFindingFilters)
-
groupByAttribute
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-