public static interface Threat.Builder extends SdkPojo, CopyableBuilder<Threat.Builder,Threat>
| Modifier and Type | Method and Description |
|---|---|
Threat.Builder |
filePaths(Collection<FilePaths> filePaths)
Provides information about the file paths that were affected by the threat.
|
Threat.Builder |
filePaths(Consumer<FilePaths.Builder>... filePaths)
Provides information about the file paths that were affected by the threat.
|
Threat.Builder |
filePaths(FilePaths... filePaths)
Provides information about the file paths that were affected by the threat.
|
Threat.Builder |
itemCount(Integer itemCount)
This total number of items in which the threat has been detected.
|
Threat.Builder |
name(String name)
The name of the threat.
|
Threat.Builder |
severity(String severity)
The severity of the threat.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildThreat.Builder name(String name)
The name of the threat.
name - The name of the threat.Threat.Builder severity(String severity)
The severity of the threat.
severity - The severity of the threat.Threat.Builder itemCount(Integer itemCount)
This total number of items in which the threat has been detected.
itemCount - This total number of items in which the threat has been detected.Threat.Builder filePaths(Collection<FilePaths> filePaths)
Provides information about the file paths that were affected by the threat.
filePaths - Provides information about the file paths that were affected by the threat.Threat.Builder filePaths(FilePaths... filePaths)
Provides information about the file paths that were affected by the threat.
filePaths - Provides information about the file paths that were affected by the threat.Threat.Builder filePaths(Consumer<FilePaths.Builder>... filePaths)
Provides information about the file paths that were affected by the threat.
This is a convenience method that creates an instance of theFilePaths.Builder avoiding the need to create one
manually via FilePaths.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #filePaths(List.
filePaths - a consumer that will call methods on
FilePaths.Builder#filePaths(java.util.Collection) Copyright © 2023. All rights reserved.