Interface AuditFinding.Builder

  • Method Details

    • keyAttributes

      AuditFinding.Builder keyAttributes(Map<String,String> keyAttributes)

      The key attributes that identify the service or entity this audit finding relates to. This is a string-to-string map that includes fields like Type, Name, and Environment.

      Parameters:
      keyAttributes - The key attributes that identify the service or entity this audit finding relates to. This is a string-to-string map that includes fields like Type, Name, and Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditorResults

      AuditFinding.Builder auditorResults(Collection<AuditorResult> auditorResults)

      An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.

      Parameters:
      auditorResults - An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditorResults

      AuditFinding.Builder auditorResults(AuditorResult... auditorResults)

      An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.

      Parameters:
      auditorResults - An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • auditorResults

      AuditFinding.Builder auditorResults(Consumer<AuditorResult.Builder>... auditorResults)

      An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.

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

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

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

      AuditFinding.Builder operation(String operation)

      The name of the operation associated with this audit finding, if the finding is specific to a particular service operation.

      Parameters:
      operation - The name of the operation associated with this audit finding, if the finding is specific to a particular service operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricGraph

      AuditFinding.Builder metricGraph(MetricGraph metricGraph)

      A structure containing metric data queries and time range information that provides context for the audit finding through relevant performance metrics.

      Parameters:
      metricGraph - A structure containing metric data queries and time range information that provides context for the audit finding through relevant performance metrics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricGraph

      default AuditFinding.Builder metricGraph(Consumer<MetricGraph.Builder> metricGraph)

      A structure containing metric data queries and time range information that provides context for the audit finding through relevant performance metrics.

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

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

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

      AuditFinding.Builder dependencyGraph(DependencyGraph dependencyGraph)

      A structure containing nodes and edges that represent the dependency relationships relevant to this audit finding, helping to understand the context and potential impact.

      Parameters:
      dependencyGraph - A structure containing nodes and edges that represent the dependency relationships relevant to this audit finding, helping to understand the context and potential impact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencyGraph

      default AuditFinding.Builder dependencyGraph(Consumer<DependencyGraph.Builder> dependencyGraph)

      A structure containing nodes and edges that represent the dependency relationships relevant to this audit finding, helping to understand the context and potential impact.

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

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

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

      The type of audit finding.

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