public static interface UpdateInsightRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<UpdateInsightRequest.Builder,UpdateInsightRequest>
Modifier and Type | Method and Description |
---|---|
UpdateInsightRequest.Builder |
filters(AwsSecurityFindingFilters filters)
The updated filters that define this insight.
|
default UpdateInsightRequest.Builder |
filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
The updated filters that define this insight.
|
UpdateInsightRequest.Builder |
groupByAttribute(String groupByAttribute)
The updated GroupBy attribute that defines this insight.
|
UpdateInsightRequest.Builder |
insightArn(String insightArn)
The ARN of the insight that you want to update.
|
UpdateInsightRequest.Builder |
name(String name)
The updated name for the insight.
|
UpdateInsightRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateInsightRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateInsightRequest.Builder insightArn(String insightArn)
The ARN of the insight that you want to update.
insightArn
- The ARN of the insight that you want to update.UpdateInsightRequest.Builder name(String name)
The updated name for the insight.
name
- The updated name for the insight.UpdateInsightRequest.Builder filters(AwsSecurityFindingFilters filters)
The updated filters that define this insight.
filters
- The updated filters that define this insight.default UpdateInsightRequest.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
The updated filters that define this insight.
This is a convenience 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.Builder
filters(AwsSecurityFindingFilters)
UpdateInsightRequest.Builder groupByAttribute(String groupByAttribute)
The updated GroupBy attribute that defines this insight.
groupByAttribute
- The updated GroupBy attribute that defines this insight.UpdateInsightRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.