Interface AssessmentFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssessmentFinding.Builder,,AssessmentFinding> SdkBuilder<AssessmentFinding.Builder,,AssessmentFinding> SdkPojo
- Enclosing class:
AssessmentFinding
-
Method Summary
Modifier and TypeMethodDescriptionThe category of this finding.category(FindingCategory category) The category of this finding.A deterministic content-based identifier for this finding.Human-readable description of what is wrong, why it matters, and what to do.default AssessmentFinding.Builderremediation(Consumer<FindingRemediation.Builder> remediation) Guidance for resolving this finding.remediation(FindingRemediation remediation) Guidance for resolving this finding.The specific resource affected (e.g., topic name).The severity of this finding.severity(FindingSeverity severity) The severity of this finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
category
The category of this finding.
- Parameters:
category- The category of this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The category of this finding.
- Parameters:
category- The category of this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingId
A deterministic content-based identifier for this finding. Generated from hash(category + resource + check_type). The same resource with the same problem always produces the same findingId across assessment runs.
- Parameters:
findingId- A deterministic content-based identifier for this finding. Generated from hash(category + resource + check_type). The same resource with the same problem always produces the same findingId across assessment runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
Human-readable description of what is wrong, why it matters, and what to do.
- Parameters:
message- Human-readable description of what is wrong, why it matters, and what to do.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediation
Guidance for resolving this finding. Absent when no specific remediation applies.
- Parameters:
remediation- Guidance for resolving this finding. Absent when no specific remediation applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediation
Guidance for resolving this finding. Absent when no specific remediation applies.
This is a convenience method that creates an instance of theFindingRemediation.Builderavoiding the need to create one manually viaFindingRemediation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremediation(FindingRemediation).- Parameters:
remediation- a consumer that will call methods onFindingRemediation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resource
The specific resource affected (e.g., topic name). Absent for cluster-level findings.
- Parameters:
resource- The specific resource affected (e.g., topic name). Absent for cluster-level findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of this finding.
- Parameters:
severity- The severity of this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of this finding.
- Parameters:
severity- The severity of this finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-