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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageScanFinding.Builderattributes(Collection<Attribute> attributes)A collection of attributes of the host from which the finding is generated.ImageScanFinding.Builderattributes(Consumer<Attribute.Builder>... attributes)A collection of attributes of the host from which the finding is generated.ImageScanFinding.Builderattributes(Attribute... attributes)A collection of attributes of the host from which the finding is generated.ImageScanFinding.Builderdescription(String description)The description of the finding.ImageScanFinding.Buildername(String name)The name associated with the finding, usually a CVE number.ImageScanFinding.Builderseverity(String severity)The finding severity.ImageScanFinding.Builderseverity(FindingSeverity severity)The finding severity.ImageScanFinding.Builderuri(String uri)A link containing additional details about the security vulnerability.-
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 Detail
-
name
ImageScanFinding.Builder name(String 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
ImageScanFinding.Builder description(String 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
ImageScanFinding.Builder uri(String 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
ImageScanFinding.Builder severity(String 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:
FindingSeverity,FindingSeverity
-
severity
ImageScanFinding.Builder severity(FindingSeverity 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:
FindingSeverity,FindingSeverity
-
attributes
ImageScanFinding.Builder attributes(Collection<Attribute> 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
ImageScanFinding.Builder attributes(Attribute... 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
ImageScanFinding.Builder attributes(Consumer<Attribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-