Interface BatchUpdateFindingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateFindingsRequest.Builder,BatchUpdateFindingsRequest>,SdkBuilder<BatchUpdateFindingsRequest.Builder,BatchUpdateFindingsRequest>,SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
- BatchUpdateFindingsRequest
public static interface BatchUpdateFindingsRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateFindingsRequest.Builder,BatchUpdateFindingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchUpdateFindingsRequest.Builderconfidence(Integer confidence)The updated value for the finding confidence.BatchUpdateFindingsRequest.Buildercriticality(Integer criticality)The updated value for the level of importance assigned to the resources associated with the findings.BatchUpdateFindingsRequest.BuilderfindingIdentifiers(Collection<AwsSecurityFindingIdentifier> findingIdentifiers)The list of findings to update.BatchUpdateFindingsRequest.BuilderfindingIdentifiers(Consumer<AwsSecurityFindingIdentifier.Builder>... findingIdentifiers)The list of findings to update.BatchUpdateFindingsRequest.BuilderfindingIdentifiers(AwsSecurityFindingIdentifier... findingIdentifiers)The list of findings to update.default BatchUpdateFindingsRequest.Buildernote(Consumer<NoteUpdate.Builder> note)Sets the value of the Note property for this object.BatchUpdateFindingsRequest.Buildernote(NoteUpdate note)Sets the value of the Note property for this object.BatchUpdateFindingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchUpdateFindingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchUpdateFindingsRequest.BuilderrelatedFindings(Collection<RelatedFinding> relatedFindings)A list of findings that are related to the updated findings.BatchUpdateFindingsRequest.BuilderrelatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)A list of findings that are related to the updated findings.BatchUpdateFindingsRequest.BuilderrelatedFindings(RelatedFinding... relatedFindings)A list of findings that are related to the updated findings.default BatchUpdateFindingsRequest.Builderseverity(Consumer<SeverityUpdate.Builder> severity)Used to update the finding severity.BatchUpdateFindingsRequest.Builderseverity(SeverityUpdate severity)Used to update the finding severity.BatchUpdateFindingsRequest.Buildertypes(String... types)One or more finding types in the format of namespace/category/classifier that classify a finding.BatchUpdateFindingsRequest.Buildertypes(Collection<String> types)One or more finding types in the format of namespace/category/classifier that classify a finding.BatchUpdateFindingsRequest.BuilderuserDefinedFields(Map<String,String> userDefinedFields)A list of name/value string pairs associated with the finding.BatchUpdateFindingsRequest.BuilderverificationState(String verificationState)Indicates the veracity of a finding.BatchUpdateFindingsRequest.BuilderverificationState(VerificationState verificationState)Indicates the veracity of a finding.default BatchUpdateFindingsRequest.Builderworkflow(Consumer<WorkflowUpdate.Builder> workflow)Used to update the workflow status of a finding.BatchUpdateFindingsRequest.Builderworkflow(WorkflowUpdate workflow)Used to update the workflow status of a finding.-
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
-
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 to#findingIdentifiers(List.) - 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:
#findingIdentifiers(java.util.Collection)
-
note
BatchUpdateFindingsRequest.Builder note(NoteUpdate 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
default BatchUpdateFindingsRequest.Builder note(Consumer<NoteUpdate.Builder> 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:
note(NoteUpdate)
-
severity
BatchUpdateFindingsRequest.Builder severity(SeverityUpdate 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
default BatchUpdateFindingsRequest.Builder severity(Consumer<SeverityUpdate.Builder> 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:
severity(SeverityUpdate)
-
verificationState
BatchUpdateFindingsRequest.Builder verificationState(String 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,VerificationState
-
-
verificationState
BatchUpdateFindingsRequest.Builder verificationState(VerificationState 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,VerificationState
-
-
confidence
BatchUpdateFindingsRequest.Builder confidence(Integer 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
BatchUpdateFindingsRequest.Builder criticality(Integer 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
BatchUpdateFindingsRequest.Builder types(Collection<String> 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
BatchUpdateFindingsRequest.Builder types(String... 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
BatchUpdateFindingsRequest.Builder userDefinedFields(Map<String,String> 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
BatchUpdateFindingsRequest.Builder workflow(WorkflowUpdate 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
default BatchUpdateFindingsRequest.Builder workflow(Consumer<WorkflowUpdate.Builder> 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:
workflow(WorkflowUpdate)
-
relatedFindings
BatchUpdateFindingsRequest.Builder relatedFindings(Collection<RelatedFinding> relatedFindings)
A list of findings that are related to the updated findings.
- Parameters:
relatedFindings- A list of findings that are related to the updated findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedFindings
BatchUpdateFindingsRequest.Builder relatedFindings(RelatedFinding... relatedFindings)
A list of findings that are related to the updated findings.
- Parameters:
relatedFindings- A list of findings that are related to the updated findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relatedFindings
BatchUpdateFindingsRequest.Builder relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)
A list of findings that are related to the updated findings.
This is a convenience method that creates an instance of theRelatedFinding.Builderavoiding the need to create one manually viaRelatedFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedFindings(List.) - Parameters:
relatedFindings- a consumer that will call methods onRelatedFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#relatedFindings(java.util.Collection)
-
overrideConfiguration
BatchUpdateFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchUpdateFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-