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 LibraryInventorybuild()LibraryInventory.Buildercopy(LibraryInventory model)LibraryInventory.BuilderdynamicallyDetectedLibraryCount(Integer dynamicallyDetectedLibraryCount)The count of libraries which are detected dynamically.LibraryInventory.BuilderhighSeverityLibraryCount(Integer highSeverityLibraryCount)The count of libraries with high severity vulnerabilities.LibraryInventory.BuilderlowSeverityLibraryCount(Integer lowSeverityLibraryCount)The count of libraries with low severity vulnerabilities.LibraryInventory.BuildermediumSeverityLibraryCount(Integer mediumSeverityLibraryCount)The count of libraries with medium severity vulnerabilities.LibraryInventory.BuilderstaticallyDetectedLibraryCount(Integer staticallyDetectedLibraryCount)The count of libraries which are detected statically.LibraryInventory.BuilderuncorrelatedPackageCount(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)
-
-