Interface BatchUpdateFindingsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateFindingsV2Request.Builder,
,BatchUpdateFindingsV2Request> SdkBuilder<BatchUpdateFindingsV2Request.Builder,
,BatchUpdateFindingsV2Request> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
BatchUpdateFindingsV2Request
-
Method Summary
Modifier and TypeMethodDescriptionThe updated value for a user provided comment about the finding.findingIdentifiers
(Collection<OcsfFindingIdentifier> findingIdentifiers) Provides information to identify a specific V2 finding.findingIdentifiers
(Consumer<OcsfFindingIdentifier.Builder>... findingIdentifiers) Provides information to identify a specific V2 finding.findingIdentifiers
(OcsfFindingIdentifier... findingIdentifiers) Provides information to identify a specific V2 finding.metadataUids
(String... metadataUids) The list of findingmetadata.uid
to indicate findings to update.metadataUids
(Collection<String> metadataUids) The list of findingmetadata.uid
to indicate findings to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.severityId
(Integer severityId) The updated value for the normalized severity identifier.The updated value for the normalized status identifier.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 Details
-
metadataUids
The list of finding
metadata.uid
to indicate findings to update. Findingmetadata.uid
is a globally unique identifier associated with the finding. Customers cannot useMetadataUids
together withFindingIdentifiers
.- Parameters:
metadataUids
- The list of findingmetadata.uid
to indicate findings to update. Findingmetadata.uid
is a globally unique identifier associated with the finding. Customers cannot useMetadataUids
together withFindingIdentifiers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataUids
The list of finding
metadata.uid
to indicate findings to update. Findingmetadata.uid
is a globally unique identifier associated with the finding. Customers cannot useMetadataUids
together withFindingIdentifiers
.- Parameters:
metadataUids
- The list of findingmetadata.uid
to indicate findings to update. Findingmetadata.uid
is a globally unique identifier associated with the finding. Customers cannot useMetadataUids
together withFindingIdentifiers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifiers
BatchUpdateFindingsV2Request.Builder findingIdentifiers(Collection<OcsfFindingIdentifier> findingIdentifiers) Provides information to identify a specific V2 finding.
- Parameters:
findingIdentifiers
- Provides information to identify a specific V2 finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifiers
BatchUpdateFindingsV2Request.Builder findingIdentifiers(OcsfFindingIdentifier... findingIdentifiers) Provides information to identify a specific V2 finding.
- Parameters:
findingIdentifiers
- Provides information to identify a specific V2 finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifiers
BatchUpdateFindingsV2Request.Builder findingIdentifiers(Consumer<OcsfFindingIdentifier.Builder>... findingIdentifiers) Provides information to identify a specific V2 finding.
This is a convenience method that creates an instance of theOcsfFindingIdentifier.Builder
avoiding the need to create one manually viaOcsfFindingIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingIdentifiers(List<OcsfFindingIdentifier>)
.- Parameters:
findingIdentifiers
- a consumer that will call methods onOcsfFindingIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comment
The updated value for a user provided comment about the finding. Minimum character length 1. Maximum character length 512.
- Parameters:
comment
- The updated value for a user provided comment about the finding. Minimum character length 1. Maximum character length 512.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityId
The updated value for the normalized severity identifier. The severity ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 99]. When customer provides the updated severity ID, the string sibling severity will automatically be updated in the finding.
- Parameters:
severityId
- The updated value for the normalized severity identifier. The severity ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 99]. When customer provides the updated severity ID, the string sibling severity will automatically be updated in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusId
The updated value for the normalized status identifier. The status ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 6, 99]. When customer provides the updated status ID, the string sibling status will automatically be updated in the finding.
- Parameters:
statusId
- The updated value for the normalized status identifier. The status ID is an integer with the allowed enum values [0, 1, 2, 3, 4, 5, 6, 99]. When customer provides the updated status ID, the string sibling status will automatically be updated in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchUpdateFindingsV2Request.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
BatchUpdateFindingsV2Request.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.
-