Interface FindingProviderFields.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FindingProviderFields.Builder,FindingProviderFields>, SdkBuilder<FindingProviderFields.Builder,FindingProviderFields>, SdkPojo
Enclosing class:
FindingProviderFields

public static interface FindingProviderFields.Builder extends SdkPojo, CopyableBuilder<FindingProviderFields.Builder,FindingProviderFields>
  • Method Details

    • confidence

      FindingProviderFields.Builder confidence(Integer confidence)

      A finding's 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 - A finding's 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

      FindingProviderFields.Builder criticality(Integer criticality)

      The level of importance assigned to the resources associated with the finding.

      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 level of importance assigned to the resources associated with the finding.

      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.
    • relatedFindings

      FindingProviderFields.Builder relatedFindings(Collection<RelatedFinding> relatedFindings)

      A list of findings that are related to the current finding.

      Parameters:
      relatedFindings - A list of findings that are related to the current finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedFindings

      FindingProviderFields.Builder relatedFindings(RelatedFinding... relatedFindings)

      A list of findings that are related to the current finding.

      Parameters:
      relatedFindings - A list of findings that are related to the current finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedFindings

      FindingProviderFields.Builder relatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)

      A list of findings that are related to the current finding.

      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:
    • severity

      The severity of a finding.

      Parameters:
      severity - The severity of a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severity

      The severity of a finding.

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

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

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

      One or more finding types in the format of namespace/category/classifier that classify a finding.

      Valid namespace values are: 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: 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: 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: 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.