Interface AuditFinding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditFinding.Builder,
,AuditFinding> SdkBuilder<AuditFinding.Builder,
,AuditFinding> SdkPojo
- Enclosing class:
AuditFinding
-
Method Summary
Modifier and TypeMethodDescriptionauditorResults
(Collection<AuditorResult> auditorResults) An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.auditorResults
(Consumer<AuditorResult.Builder>... auditorResults) An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.auditorResults
(AuditorResult... auditorResults) An array of auditor results that contain the specific findings, descriptions, and severity levels identified by different auditing algorithms.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.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.keyAttributes
(Map<String, String> keyAttributes) The key attributes that identify the service or entity this audit finding relates to.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.metricGraph
(MetricGraph metricGraph) A structure containing metric data queries and time range information that provides context for the audit finding through relevant performance metrics.The name of the operation associated with this audit finding, if the finding is specific to a particular service operation.The type of audit finding.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
-
Method Details
-
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
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
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
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 theAuditorResult.Builder
avoiding the need to create one manually viaAuditorResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauditorResults(List<AuditorResult>)
.- Parameters:
auditorResults
- a consumer that will call methods onAuditorResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theMetricGraph.Builder
avoiding the need to create one manually viaMetricGraph.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricGraph(MetricGraph)
.- Parameters:
metricGraph
- a consumer that will call methods onMetricGraph.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theDependencyGraph.Builder
avoiding the need to create one manually viaDependencyGraph.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todependencyGraph(DependencyGraph)
.- Parameters:
dependencyGraph
- a consumer that will call methods onDependencyGraph.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.
-