public static class LibraryUsage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LibraryUsage.Builder |
approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications using the library.
|
LibraryUsage.Builder |
approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications using the library.
|
LibraryUsage.Builder |
approximateJavaServerInstanceCount(Integer approximateJavaServerInstanceCount)
The approximate count of Java Server instances using the library.
|
LibraryUsage.Builder |
approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances using the library.
|
LibraryUsage |
build() |
LibraryUsage.Builder |
copy(LibraryUsage model) |
LibraryUsage.Builder |
cveId(String cveId)
The Common Vulnerabilities and Exposures (CVE) ID.
|
LibraryUsage.Builder |
cvssScore(Float cvssScore)
The Common Vulnerability Scoring System (CVSS) score.
|
LibraryUsage.Builder |
fleetId(String fleetId)
The OCID of the
related fleet.
|
LibraryUsage.Builder |
libraryKey(String libraryKey)
The internal identifier of the library.
|
LibraryUsage.Builder |
libraryName(String libraryName)
The name of the library.
|
LibraryUsage.Builder |
libraryVersion(String libraryVersion)
The version of the library.
|
LibraryUsage.Builder |
timeEnd(Date timeEnd)
Upper bound of the specified time period filter.
|
LibraryUsage.Builder |
timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS.
|
LibraryUsage.Builder |
timeLastCveRefreshed(Date timeLastCveRefreshed)
The date and time of the last CVEs refresh was completed.
|
LibraryUsage.Builder |
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.
|
LibraryUsage.Builder |
timeStart(Date timeStart)
Lower bound of the specified time period filter.
|
public LibraryUsage.Builder libraryKey(String libraryKey)
The internal identifier of the library.
libraryKey
- the value to setpublic LibraryUsage.Builder fleetId(String fleetId)
The OCID of the related fleet.
fleetId
- the value to setpublic LibraryUsage.Builder libraryName(String libraryName)
The name of the library.
libraryName
- the value to setpublic LibraryUsage.Builder libraryVersion(String libraryVersion)
The version of the library.
libraryVersion
- the value to setpublic LibraryUsage.Builder cveId(String cveId)
The Common Vulnerabilities and Exposures (CVE) ID.
cveId
- the value to setpublic LibraryUsage.Builder cvssScore(Float cvssScore)
The Common Vulnerability Scoring System (CVSS) score.
cvssScore
- the value to setpublic LibraryUsage.Builder approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications using the library.
approximateApplicationCount
- the value to setpublic LibraryUsage.Builder approximateJavaServerInstanceCount(Integer approximateJavaServerInstanceCount)
The approximate count of Java Server instances using the library.
approximateJavaServerInstanceCount
- the value to setpublic LibraryUsage.Builder approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications using the library.
approximateDeployedApplicationCount
- the value to setpublic LibraryUsage.Builder approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances using the library.
approximateManagedInstanceCount
- the value to setpublic LibraryUsage.Builder timeStart(Date timeStart)
Lower bound of the specified time period filter. JMS provides a view of the data that is per day. The query uses only the date element of the parameter.
timeStart
- the value to setpublic LibraryUsage.Builder timeEnd(Date timeEnd)
Upper bound of the specified time period filter. JMS provides a view of the data that is per day. The query uses only the date element of the parameter.
timeEnd
- the value to setpublic LibraryUsage.Builder timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS. This is potentially before the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period.
timeFirstSeen
- the value to setpublic LibraryUsage.Builder timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS. This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
timeLastSeen
- the value to setpublic LibraryUsage.Builder timeLastCveRefreshed(Date timeLastCveRefreshed)
The date and time of the last CVEs refresh was completed.
timeLastCveRefreshed
- the value to setpublic LibraryUsage build()
public LibraryUsage.Builder copy(LibraryUsage model)
Copyright © 2016–2024. All rights reserved.