Package com.oracle.bmc.jms.model
Class LibraryInventory.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.LibraryInventory.Builder
-
- Enclosing class:
- LibraryInventory
public static class LibraryInventory.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LibraryInventory
build()
LibraryInventory.Builder
copy(LibraryInventory model)
LibraryInventory.Builder
dynamicallyDetectedLibraryCount(Integer dynamicallyDetectedLibraryCount)
The count of libraries which are detected dynamically.LibraryInventory.Builder
highSeverityLibraryCount(Integer highSeverityLibraryCount)
The count of libraries with high severity vulnerabilities.LibraryInventory.Builder
lowSeverityLibraryCount(Integer lowSeverityLibraryCount)
The count of libraries with low severity vulnerabilities.LibraryInventory.Builder
mediumSeverityLibraryCount(Integer mediumSeverityLibraryCount)
The count of libraries with medium severity vulnerabilities.LibraryInventory.Builder
staticallyDetectedLibraryCount(Integer staticallyDetectedLibraryCount)
The count of libraries which are detected statically.LibraryInventory.Builder
uncorrelatedPackageCount(Integer uncorrelatedPackageCount)
The count of packages which are detected but not correlated to any libraries.
-
-
-
Method Detail
-
staticallyDetectedLibraryCount
public LibraryInventory.Builder staticallyDetectedLibraryCount(Integer staticallyDetectedLibraryCount)
The count of libraries which are detected statically.- Parameters:
staticallyDetectedLibraryCount
- the value to set- Returns:
- this builder
-
dynamicallyDetectedLibraryCount
public LibraryInventory.Builder dynamicallyDetectedLibraryCount(Integer dynamicallyDetectedLibraryCount)
The count of libraries which are detected dynamically.- Parameters:
dynamicallyDetectedLibraryCount
- the value to set- Returns:
- this builder
-
uncorrelatedPackageCount
public LibraryInventory.Builder uncorrelatedPackageCount(Integer uncorrelatedPackageCount)
The count of packages which are detected but not correlated to any libraries.- Parameters:
uncorrelatedPackageCount
- the value to set- Returns:
- this builder
-
highSeverityLibraryCount
public LibraryInventory.Builder highSeverityLibraryCount(Integer highSeverityLibraryCount)
The count of libraries with high severity vulnerabilities.- Parameters:
highSeverityLibraryCount
- the value to set- Returns:
- this builder
-
mediumSeverityLibraryCount
public LibraryInventory.Builder mediumSeverityLibraryCount(Integer mediumSeverityLibraryCount)
The count of libraries with medium severity vulnerabilities.- Parameters:
mediumSeverityLibraryCount
- the value to set- Returns:
- this builder
-
lowSeverityLibraryCount
public LibraryInventory.Builder lowSeverityLibraryCount(Integer lowSeverityLibraryCount)
The count of libraries with low severity vulnerabilities.- Parameters:
lowSeverityLibraryCount
- the value to set- Returns:
- this builder
-
build
public LibraryInventory build()
-
copy
public LibraryInventory.Builder copy(LibraryInventory model)
-
-