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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateInsightRequest.Builderfilters(Consumer<AwsSecurityFindingFilters.Builder> filters)The updated filters that define this insight.UpdateInsightRequest.Builderfilters(AwsSecurityFindingFilters filters)The updated filters that define this insight.UpdateInsightRequest.BuildergroupByAttribute(String groupByAttribute)The updatedGroupByattribute that defines this insight.UpdateInsightRequest.BuilderinsightArn(String insightArn)The ARN of the insight that you want to update.UpdateInsightRequest.Buildername(String name)The updated name for the insight.UpdateInsightRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateInsightRequest.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
-
insightArn
UpdateInsightRequest.Builder insightArn(String 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
UpdateInsightRequest.Builder name(String 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
UpdateInsightRequest.Builder filters(AwsSecurityFindingFilters 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
default UpdateInsightRequest.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
The updated filters that define this insight.
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
UpdateInsightRequest.Builder groupByAttribute(String groupByAttribute)
The updated
GroupByattribute that defines this insight.- Parameters:
groupByAttribute- The updatedGroupByattribute 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateInsightRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-