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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FindingProviderFields.Builderconfidence(Integer confidence)A finding's confidence.FindingProviderFields.Buildercriticality(Integer criticality)The level of importance assigned to the resources associated with the finding.FindingProviderFields.BuilderrelatedFindings(Collection<RelatedFinding> relatedFindings)A list of findings that are related to the current finding.FindingProviderFields.BuilderrelatedFindings(Consumer<RelatedFinding.Builder>... relatedFindings)A list of findings that are related to the current finding.FindingProviderFields.BuilderrelatedFindings(RelatedFinding... relatedFindings)A list of findings that are related to the current finding.default FindingProviderFields.Builderseverity(Consumer<FindingProviderSeverity.Builder> severity)The severity of a finding.FindingProviderFields.Builderseverity(FindingProviderSeverity severity)The severity of a finding.FindingProviderFields.Buildertypes(String... types)One or more finding types in the format ofnamespace/category/classifierthat classify a finding.FindingProviderFields.Buildertypes(Collection<String> types)One or more finding types in the format ofnamespace/category/classifierthat 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 Detail
-
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 theRelatedFinding.Builderavoiding the need to create one manually viaRelatedFinding.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#relatedFindings(List.) - Parameters:
relatedFindings- a consumer that will call methods onRelatedFinding.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#relatedFindings(java.util.Collection)
-
severity
FindingProviderFields.Builder severity(FindingProviderSeverity 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
default FindingProviderFields.Builder severity(Consumer<FindingProviderSeverity.Builder> severity)
The severity of a finding.
This is a convenience method that creates an instance of theFindingProviderSeverity.Builderavoiding the need to create one manually viaFindingProviderSeverity.builder().When the
Consumercompletes,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:
severity(FindingProviderSeverity)
-
types
FindingProviderFields.Builder types(Collection<String> types)
One or more finding types in the format of
namespace/category/classifierthat 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/classifierthat 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
FindingProviderFields.Builder types(String... types)
One or more finding types in the format of
namespace/category/classifierthat 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/classifierthat 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.
-
-