Interface UpdateInsightRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateInsightRequest.Builder,
,UpdateInsightRequest> SdkBuilder<UpdateInsightRequest.Builder,
,UpdateInsightRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
UpdateInsightRequest
public static interface UpdateInsightRequest.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<UpdateInsightRequest.Builder,UpdateInsightRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateInsightRequest.Builder
filters
(Consumer<AwsSecurityFindingFilters.Builder> filters) The updated filters that define this insight.filters
(AwsSecurityFindingFilters filters) The updated filters that define this insight.groupByAttribute
(String groupByAttribute) The updatedGroupBy
attribute that defines this insight.insightArn
(String insightArn) The ARN of the insight that you want to update.The updated name for the insight.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
insightArn
The ARN of the insight that you want to update.
- Parameters:
insightArn
- The ARN of the insight that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name for the insight.
- Parameters:
name
- The updated name for the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The updated filters that define this insight.
- Parameters:
filters
- The updated filters that define this insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The updated filters that define this insight.
This is a convenience method that creates an instance of theAwsSecurityFindingFilters.Builder
avoiding the need to create one manually viaAwsSecurityFindingFilters.builder()
.When the
Consumer
completes,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:
-
groupByAttribute
The updated
GroupBy
attribute that defines this insight.- Parameters:
groupByAttribute
- The updatedGroupBy
attribute that defines this insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-