Interface BatchUpdateFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateFindingsRequest.Builder,,BatchUpdateFindingsRequest> SdkBuilder<BatchUpdateFindingsRequest.Builder,,BatchUpdateFindingsRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
BatchUpdateFindingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfidence(Integer confidence) The updated value for the finding confidence.criticality(Integer criticality) The updated value for the level of importance assigned to the resources associated with the findings.findingIdentifiers(Collection<AwsSecurityFindingIdentifier> findingIdentifiers) The list of findings to update.findingIdentifiers(Consumer<AwsSecurityFindingIdentifier.Builder>... findingIdentifiers) The list of findings to update.findingIdentifiers(AwsSecurityFindingIdentifier... findingIdentifiers) The list of findings to update.note(Consumer<NoteUpdate.Builder> note) Sets the value of the Note property for this object.note(NoteUpdate note) Sets the value of the Note property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relatedFindings(Collection<RelatedFinding> relatedFindings) A list of findings that are related to the updated findings.relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings) A list of findings that are related to the updated findings.relatedFindings(RelatedFinding... relatedFindings) A list of findings that are related to the updated findings.severity(Consumer<SeverityUpdate.Builder> severity) Used to update the finding severity.severity(SeverityUpdate severity) Used to update the finding severity.One or more finding types in the format of namespace/category/classifier that classify a finding.types(Collection<String> types) One or more finding types in the format of namespace/category/classifier that classify a finding.userDefinedFields(Map<String, String> userDefinedFields) A list of name/value string pairs associated with the finding.verificationState(String verificationState) Indicates the veracity of a finding.verificationState(VerificationState verificationState) Indicates the veracity of a finding.workflow(Consumer<WorkflowUpdate.Builder> workflow) Used to update the workflow status of a finding.workflow(WorkflowUpdate workflow) Used to update the workflow status of a finding.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
findingIdentifiers
BatchUpdateFindingsRequest.Builder findingIdentifiers(Collection<AwsSecurityFindingIdentifier> findingIdentifiers) The list of findings to update.
BatchUpdateFindingscan be used to update up to 100 findings at a time.For each finding, the list provides the finding identifier and the ARN of the finding provider.
- Parameters:
findingIdentifiers- The list of findings to update.BatchUpdateFindingscan be used to update up to 100 findings at a time.For each finding, the list provides the finding identifier and the ARN of the finding provider.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifiers
BatchUpdateFindingsRequest.Builder findingIdentifiers(AwsSecurityFindingIdentifier... findingIdentifiers) The list of findings to update.
BatchUpdateFindingscan be used to update up to 100 findings at a time.For each finding, the list provides the finding identifier and the ARN of the finding provider.
- Parameters:
findingIdentifiers- The list of findings to update.BatchUpdateFindingscan be used to update up to 100 findings at a time.For each finding, the list provides the finding identifier and the ARN of the finding provider.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIdentifiers
BatchUpdateFindingsRequest.Builder findingIdentifiers(Consumer<AwsSecurityFindingIdentifier.Builder>... findingIdentifiers) The list of findings to update.
BatchUpdateFindingscan be used to update up to 100 findings at a time.For each finding, the list provides the finding identifier and the ARN of the finding provider.
This is a convenience method that creates an instance of theAwsSecurityFindingIdentifier.Builderavoiding the need to create one manually viaAwsSecurityFindingIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofindingIdentifiers(List<AwsSecurityFindingIdentifier>).- Parameters:
findingIdentifiers- a consumer that will call methods onAwsSecurityFindingIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
note
Sets the value of the Note property for this object.- Parameters:
note- The new value for the Note property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
note
Sets the value of the Note property for this object. This is a convenience method that creates an instance of theNoteUpdate.Builderavoiding the need to create one manually viaNoteUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonote(NoteUpdate).- Parameters:
note- a consumer that will call methods onNoteUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
Used to update the finding severity.
- Parameters:
severity- Used to update the finding severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Used to update the finding severity.
This is a convenience method that creates an instance of theSeverityUpdate.Builderavoiding the need to create one manually viaSeverityUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverity(SeverityUpdate).- Parameters:
severity- a consumer that will call methods onSeverityUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verificationState
Indicates the veracity of a finding.
The available values for
VerificationStateare as follows.-
UNKNOWN– The default disposition of a security finding -
TRUE_POSITIVE– The security finding is confirmed -
FALSE_POSITIVE– The security finding was determined to be a false alarm -
BENIGN_POSITIVE– A special case ofTRUE_POSITIVEwhere the finding doesn't pose any threat, is expected, or both
- Parameters:
verificationState- Indicates the veracity of a finding.The available values for
VerificationStateare as follows.-
UNKNOWN– The default disposition of a security finding -
TRUE_POSITIVE– The security finding is confirmed -
FALSE_POSITIVE– The security finding was determined to be a false alarm -
BENIGN_POSITIVE– A special case ofTRUE_POSITIVEwhere the finding doesn't pose any threat, is expected, or both
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
verificationState
Indicates the veracity of a finding.
The available values for
VerificationStateare as follows.-
UNKNOWN– The default disposition of a security finding -
TRUE_POSITIVE– The security finding is confirmed -
FALSE_POSITIVE– The security finding was determined to be a false alarm -
BENIGN_POSITIVE– A special case ofTRUE_POSITIVEwhere the finding doesn't pose any threat, is expected, or both
- Parameters:
verificationState- Indicates the veracity of a finding.The available values for
VerificationStateare as follows.-
UNKNOWN– The default disposition of a security finding -
TRUE_POSITIVE– The security finding is confirmed -
FALSE_POSITIVE– The security finding was determined to be a false alarm -
BENIGN_POSITIVE– A special case ofTRUE_POSITIVEwhere the finding doesn't pose any threat, is expected, or both
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
confidence
The updated value for the finding confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.
Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
- Parameters:
confidence- The updated value for the finding confidence. Confidence is defined as the likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent confidence and 100 means 100 percent confidence.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criticality
The updated value for the level of importance assigned to the resources associated with the findings.
A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
- Parameters:
criticality- The updated value for the level of importance assigned to the resources associated with the findings.A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
types
One or more finding types in the format of namespace/category/classifier that classify a finding.
Valid namespace values are as follows.
-
Software and Configuration Checks
-
TTPs
-
Effects
-
Unusual Behaviors
-
Sensitive Data Identifications
- Parameters:
types- One or more finding types in the format of namespace/category/classifier that classify a finding.Valid namespace values are as follows.
-
Software and Configuration Checks
-
TTPs
-
Effects
-
Unusual Behaviors
-
Sensitive Data Identifications
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
types
One or more finding types in the format of namespace/category/classifier that classify a finding.
Valid namespace values are as follows.
-
Software and Configuration Checks
-
TTPs
-
Effects
-
Unusual Behaviors
-
Sensitive Data Identifications
- Parameters:
types- One or more finding types in the format of namespace/category/classifier that classify a finding.Valid namespace values are as follows.
-
Software and Configuration Checks
-
TTPs
-
Effects
-
Unusual Behaviors
-
Sensitive Data Identifications
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
userDefinedFields
A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.
- Parameters:
userDefinedFields- A list of name/value string pairs associated with the finding. These are custom, user-defined fields added to a finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
Used to update the workflow status of a finding.
The workflow status indicates the progress of the investigation into the finding.
- Parameters:
workflow- Used to update the workflow status of a finding.The workflow status indicates the progress of the investigation into the finding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
Used to update the workflow status of a finding.
The workflow status indicates the progress of the investigation into the finding.
This is a convenience method that creates an instance of theWorkflowUpdate.Builderavoiding the need to create one manually viaWorkflowUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflow(WorkflowUpdate).- Parameters:
workflow- a consumer that will call methods onWorkflowUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-