Package com.oracle.bmc.jms.model
Class LibraryUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.LibraryUsage.Builder
-
- Enclosing class:
- LibraryUsage
public static class LibraryUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
libraryKey
public LibraryUsage.Builder libraryKey(String libraryKey)
The internal identifier of the library.- Parameters:
libraryKey
- the value to set- Returns:
- this builder
-
fleetId
public LibraryUsage.Builder fleetId(String fleetId)
The OCID of the related fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
libraryName
public LibraryUsage.Builder libraryName(String libraryName)
The name of the library.- Parameters:
libraryName
- the value to set- Returns:
- this builder
-
libraryVersion
public LibraryUsage.Builder libraryVersion(String libraryVersion)
The version of the library.- Parameters:
libraryVersion
- the value to set- Returns:
- this builder
-
cveId
public LibraryUsage.Builder cveId(String cveId)
The Common Vulnerabilities and Exposures (CVE) ID.- Parameters:
cveId
- the value to set- Returns:
- this builder
-
cvssScore
public LibraryUsage.Builder cvssScore(Float cvssScore)
The Common Vulnerability Scoring System (CVSS) score.- Parameters:
cvssScore
- the value to set- Returns:
- this builder
-
approximateApplicationCount
public LibraryUsage.Builder approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications using the library.- Parameters:
approximateApplicationCount
- the value to set- Returns:
- this builder
-
approximateJavaServerInstanceCount
public LibraryUsage.Builder approximateJavaServerInstanceCount(Integer approximateJavaServerInstanceCount)
The approximate count of Java Server instances using the library.- Parameters:
approximateJavaServerInstanceCount
- the value to set- Returns:
- this builder
-
approximateDeployedApplicationCount
public LibraryUsage.Builder approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications using the library.- Parameters:
approximateDeployedApplicationCount
- the value to set- Returns:
- this builder
-
approximateManagedInstanceCount
public LibraryUsage.Builder approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances using the library.- Parameters:
approximateManagedInstanceCount
- the value to set- Returns:
- this builder
-
timeStart
public 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.
- Parameters:
timeStart
- the value to set- Returns:
- this builder
-
timeEnd
public 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.
- Parameters:
timeEnd
- the value to set- Returns:
- this builder
-
timeFirstSeen
public 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.
- Parameters:
timeFirstSeen
- the value to set- Returns:
- this builder
-
timeLastSeen
public 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.
- Parameters:
timeLastSeen
- the value to set- Returns:
- this builder
-
timeLastCveRefreshed
public LibraryUsage.Builder timeLastCveRefreshed(Date timeLastCveRefreshed)
The date and time of the last CVEs refresh was completed.- Parameters:
timeLastCveRefreshed
- the value to set- Returns:
- this builder
-
build
public LibraryUsage build()
-
copy
public LibraryUsage.Builder copy(LibraryUsage model)
-
-