Package com.oracle.bmc.jms.model
Class InstallationUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.InstallationUsage.Builder
-
- Enclosing class:
- InstallationUsage
public static class InstallationUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallationUsage.Builder
approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications running on this installationInstallationUsage.Builder
approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances reporting this installationInstallationUsage.Builder
architecture(String architecture)
The architecture of the operating system for the installation.InstallationUsage
build()
InstallationUsage.Builder
copy(InstallationUsage model)
InstallationUsage.Builder
installationKey(String installationKey)
The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.InstallationUsage.Builder
jreDistribution(String jreDistribution)
The distribution of the Java Runtime that is deployed with the installation.InstallationUsage.Builder
jreVendor(String jreVendor)
The vendor of the Java Runtime that is deployed with the installation.InstallationUsage.Builder
jreVersion(String jreVersion)
The version of the Java Runtime that is deployed with the installation.InstallationUsage.Builder
operatingSystem(OperatingSystem operatingSystem)
InstallationUsage.Builder
os(String os)
The Operating System for the installation.InstallationUsage.Builder
path(String path)
The file system path of the Java installation.InstallationUsage.Builder
timeEnd(Date timeEnd)
Upper bound of the specified time period filter.InstallationUsage.Builder
timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS.InstallationUsage.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.InstallationUsage.Builder
timeStart(Date timeStart)
Lower bound of the specified time period filter.
-
-
-
Method Detail
-
installationKey
public InstallationUsage.Builder installationKey(String installationKey)
The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.- Parameters:
installationKey
- the value to set- Returns:
- this builder
-
jreVendor
public InstallationUsage.Builder jreVendor(String jreVendor)
The vendor of the Java Runtime that is deployed with the installation.- Parameters:
jreVendor
- the value to set- Returns:
- this builder
-
jreDistribution
public InstallationUsage.Builder jreDistribution(String jreDistribution)
The distribution of the Java Runtime that is deployed with the installation.- Parameters:
jreDistribution
- the value to set- Returns:
- this builder
-
jreVersion
public InstallationUsage.Builder jreVersion(String jreVersion)
The version of the Java Runtime that is deployed with the installation.- Parameters:
jreVersion
- the value to set- Returns:
- this builder
-
path
public InstallationUsage.Builder path(String path)
The file system path of the Java installation.- Parameters:
path
- the value to set- Returns:
- this builder
-
os
public InstallationUsage.Builder os(String os)
The Operating System for the installation.Deprecated, use operatingSystem instead.
- Parameters:
os
- the value to set- Returns:
- this builder
-
architecture
public InstallationUsage.Builder architecture(String architecture)
The architecture of the operating system for the installation.Deprecated, use operatingSystem instead.
- Parameters:
architecture
- the value to set- Returns:
- this builder
-
operatingSystem
public InstallationUsage.Builder operatingSystem(OperatingSystem operatingSystem)
-
approximateApplicationCount
public InstallationUsage.Builder approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications running on this installation- Parameters:
approximateApplicationCount
- the value to set- Returns:
- this builder
-
approximateManagedInstanceCount
public InstallationUsage.Builder approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances reporting this installation- Parameters:
approximateManagedInstanceCount
- the value to set- Returns:
- this builder
-
timeStart
public InstallationUsage.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 InstallationUsage.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 InstallationUsage.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 InstallationUsage.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
-
build
public InstallationUsage build()
-
copy
public InstallationUsage.Builder copy(InstallationUsage model)
-
-