Interface FindingProviderFields.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FindingProviderFields.Builder,
,FindingProviderFields> SdkBuilder<FindingProviderFields.Builder,
,FindingProviderFields> SdkPojo
- Enclosing class:
FindingProviderFields
-
Method Summary
Modifier and TypeMethodDescriptionconfidence
(Integer confidence) A finding's confidence.criticality
(Integer criticality) The level of importance assigned to the resources associated with the finding.relatedFindings
(Collection<RelatedFinding> relatedFindings) A list of findings that are related to the current finding.relatedFindings
(Consumer<RelatedFinding.Builder>... relatedFindings) A list of findings that are related to the current finding.relatedFindings
(RelatedFinding... relatedFindings) A list of findings that are related to the current finding.default FindingProviderFields.Builder
severity
(Consumer<FindingProviderSeverity.Builder> severity) The severity of a finding.severity
(FindingProviderSeverity severity) The severity of a finding.One or more finding types in the format ofnamespace/category/classifier
that classify a finding.types
(Collection<String> types) One or more finding types in the format ofnamespace/category/classifier
that classify a 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, sdkFields
-
Method Details
-
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
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.
-
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 theFindingProviderSeverity.Builder
avoiding the need to create one manually viaFindingProviderSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverity(FindingProviderSeverity)
.- Parameters:
severity
- a consumer that will call methods onFindingProviderSeverity.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 ofnamespace/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 ofnamespace/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.
-