Package com.oracle.bmc.jms.model
Class ApplicationUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.ApplicationUsage.Builder
-
- Enclosing class:
- ApplicationUsage
public static class ApplicationUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationUsage.BuilderapplicationId(String applicationId)An internal identifier for the application that is unique to a fleet.ApplicationUsage.BuilderapplicationType(String applicationType)The type of the application denoted by how the application was started.ApplicationUsage.BuilderapproximateInstallationCount(Integer approximateInstallationCount)The approximate count of installations running this application.ApplicationUsage.BuilderapproximateJreCount(Integer approximateJreCount)The approximate count of Java Runtimes running this application.ApplicationUsage.BuilderapproximateLibraryCount(Integer approximateLibraryCount)The approximate count of libraries in this application.ApplicationUsage.BuilderapproximateManagedInstanceCount(Integer approximateManagedInstanceCount)The approximate count of managed instances reporting this application.ApplicationUsagebuild()ApplicationUsage.Buildercopy(ApplicationUsage model)ApplicationUsage.BuilderdisplayName(String displayName)The name of the application.ApplicationUsage.BuilderoperatingSystems(List<OperatingSystem> operatingSystems)The operating systems running this application.ApplicationUsage.BuildertimeEnd(Date timeEnd)Upper bound of the specified time period filter.ApplicationUsage.BuildertimeFirstSeen(Date timeFirstSeen)The date and time the resource was first reported to JMS.ApplicationUsage.BuildertimeLastSeen(Date timeLastSeen)The date and time the resource was last reported to JMS.ApplicationUsage.BuildertimeStart(Date timeStart)Lower bound of the specified time period filter.
-
-
-
Method Detail
-
applicationId
public ApplicationUsage.Builder applicationId(String applicationId)
An internal identifier for the application that is unique to a fleet.- Parameters:
applicationId- the value to set- Returns:
- this builder
-
displayName
public ApplicationUsage.Builder displayName(String displayName)
The name of the application.- Parameters:
displayName- the value to set- Returns:
- this builder
-
applicationType
public ApplicationUsage.Builder applicationType(String applicationType)
The type of the application denoted by how the application was started.- Parameters:
applicationType- the value to set- Returns:
- this builder
-
operatingSystems
public ApplicationUsage.Builder operatingSystems(List<OperatingSystem> operatingSystems)
The operating systems running this application.- Parameters:
operatingSystems- the value to set- Returns:
- this builder
-
approximateInstallationCount
public ApplicationUsage.Builder approximateInstallationCount(Integer approximateInstallationCount)
The approximate count of installations running this application.- Parameters:
approximateInstallationCount- the value to set- Returns:
- this builder
-
approximateJreCount
public ApplicationUsage.Builder approximateJreCount(Integer approximateJreCount)
The approximate count of Java Runtimes running this application.- Parameters:
approximateJreCount- the value to set- Returns:
- this builder
-
approximateManagedInstanceCount
public ApplicationUsage.Builder approximateManagedInstanceCount(Integer approximateManagedInstanceCount)
The approximate count of managed instances reporting this application.- Parameters:
approximateManagedInstanceCount- the value to set- Returns:
- this builder
-
approximateLibraryCount
public ApplicationUsage.Builder approximateLibraryCount(Integer approximateLibraryCount)
The approximate count of libraries in this application.- Parameters:
approximateLibraryCount- the value to set- Returns:
- this builder
-
timeStart
public ApplicationUsage.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 ApplicationUsage.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 ApplicationUsage.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 ApplicationUsage.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 ApplicationUsage build()
-
copy
public ApplicationUsage.Builder copy(ApplicationUsage model)
-
-