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 Details

    • findingIdentifiers

      The list of findings to update. BatchUpdateFindings can 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. BatchUpdateFindings can 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. BatchUpdateFindings can 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. BatchUpdateFindings can 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

      The list of findings to update. BatchUpdateFindings can 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 the AwsSecurityFindingIdentifier.Builder avoiding the need to create one manually via AwsSecurityFindingIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to findingIdentifiers(List<AwsSecurityFindingIdentifier>).

      Parameters:
      findingIdentifiers - a consumer that will call methods on AwsSecurityFindingIdentifier.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 the NoteUpdate.Builder avoiding the need to create one manually via NoteUpdate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to note(NoteUpdate).

      Parameters:
      note - a consumer that will call methods on NoteUpdate.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 the SeverityUpdate.Builder avoiding the need to create one manually via SeverityUpdate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to severity(SeverityUpdate).

      Parameters:
      severity - a consumer that will call methods on SeverityUpdate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationState

      BatchUpdateFindingsRequest.Builder verificationState(String verificationState)

      Indicates the veracity of a finding.

      The available values for VerificationState are 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 of TRUE_POSITIVE where the finding doesn't pose any threat, is expected, or both

      Parameters:
      verificationState - Indicates the veracity of a finding.

      The available values for VerificationState are 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 of TRUE_POSITIVE where 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

      BatchUpdateFindingsRequest.Builder verificationState(VerificationState verificationState)

      Indicates the veracity of a finding.

      The available values for VerificationState are 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 of TRUE_POSITIVE where the finding doesn't pose any threat, is expected, or both

      Parameters:
      verificationState - Indicates the veracity of a finding.

      The available values for VerificationState are 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 of TRUE_POSITIVE where 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

      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

      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

      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

      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 the WorkflowUpdate.Builder avoiding the need to create one manually via WorkflowUpdate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workflow(WorkflowUpdate).

      Parameters:
      workflow - a consumer that will call methods on WorkflowUpdate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      A list of findings that are related to the updated findings.

      This is a convenience method that creates an instance of the RelatedFinding.Builder avoiding the need to create one manually via RelatedFinding.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to relatedFindings(List<RelatedFinding>).

      Parameters:
      relatedFindings - a consumer that will call methods on RelatedFinding.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.