public static interface ImageScanFinding.Builder extends SdkPojo, CopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
| Modifier and Type | Method and Description |
|---|---|
ImageScanFinding.Builder |
attributes(Attribute... attributes)
A collection of attributes of the host from which the finding is generated.
|
ImageScanFinding.Builder |
attributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
|
ImageScanFinding.Builder |
attributes(Consumer<Attribute.Builder>... attributes)
A collection of attributes of the host from which the finding is generated.
|
ImageScanFinding.Builder |
description(String description)
The description of the finding.
|
ImageScanFinding.Builder |
name(String name)
The name associated with the finding, usually a CVE number.
|
ImageScanFinding.Builder |
severity(FindingSeverity severity)
The finding severity.
|
ImageScanFinding.Builder |
severity(String severity)
The finding severity.
|
ImageScanFinding.Builder |
uri(String uri)
A link containing additional details about the security vulnerability.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageScanFinding.Builder name(String name)
The name associated with the finding, usually a CVE number.
name - The name associated with the finding, usually a CVE number.ImageScanFinding.Builder description(String description)
The description of the finding.
description - The description of the finding.ImageScanFinding.Builder uri(String uri)
A link containing additional details about the security vulnerability.
uri - A link containing additional details about the security vulnerability.ImageScanFinding.Builder severity(String severity)
The finding severity.
severity - The finding severity.FindingSeverity,
FindingSeverityImageScanFinding.Builder severity(FindingSeverity severity)
The finding severity.
severity - The finding severity.FindingSeverity,
FindingSeverityImageScanFinding.Builder attributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
attributes - A collection of attributes of the host from which the finding is generated.ImageScanFinding.Builder attributes(Attribute... attributes)
A collection of attributes of the host from which the finding is generated.
attributes - A collection of attributes of the host from which the finding is generated.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.Builder avoiding the need to create one manually
via Attribute.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #attributes(List.
attributes - a consumer that will call methods on
Attribute.Builder#attributes(java.util.Collection) Copyright © 2023. All rights reserved.