Interface ImageScanFinding.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageScanFinding.Builder,,ImageScanFinding> SdkBuilder<ImageScanFinding.Builder,,ImageScanFinding> SdkPojo
- Enclosing class:
ImageScanFinding
public static interface ImageScanFinding.Builder
extends SdkPojo, CopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<Attribute> attributes) A collection of attributes of the host from which the finding is generated.attributes(Consumer<Attribute.Builder>... attributes) A collection of attributes of the host from which the finding is generated.attributes(Attribute... attributes) A collection of attributes of the host from which the finding is generated.description(String description) The description of the finding.The name associated with the finding, usually a CVE number.The finding severity.severity(FindingSeverity severity) The finding severity.A link containing additional details about the security vulnerability.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, sdkFields
-
Method Details
-
name
The name associated with the finding, usually a CVE number.
- Parameters:
name- The name associated with the finding, usually a CVE number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the finding.
- Parameters:
description- The description of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uri
A link containing additional details about the security vulnerability.
- Parameters:
uri- A link containing additional details about the security vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The finding severity.
- Parameters:
severity- The finding severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The finding severity.
- Parameters:
severity- The finding severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
A collection of attributes of the host from which the finding is generated.
- Parameters:
attributes- A collection of attributes of the host from which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A collection of attributes of the host from which the finding is generated.
- Parameters:
attributes- A collection of attributes of the host from which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A collection of attributes of the host from which the finding is generated.
This is a convenience method that creates an instance of theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<Attribute>).- Parameters:
attributes- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-