Package com.oracle.bmc.jms.model
Class ManagedInstanceUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.ManagedInstanceUsage.Builder
-
- Enclosing class:
- ManagedInstanceUsage
public static class ManagedInstanceUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstanceUsage.Builder
agent(Agent agent)
ManagedInstanceUsage.Builder
applicationInvokedBy(String applicationInvokedBy)
Comma separated list of user names that invoked applications within this managed instance.ManagedInstanceUsage.Builder
approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications reported by this managed instance.ManagedInstanceUsage.Builder
approximateInstallationCount(Integer approximateInstallationCount)
The approximate count of installations reported by this managed instance.ManagedInstanceUsage.Builder
approximateJreCount(Integer approximateJreCount)
The approximate count of Java Runtimes reported by this managed instance.ManagedInstanceUsage
build()
ManagedInstanceUsage.Builder
copy(ManagedInstanceUsage model)
ManagedInstanceUsage.Builder
drsFileStatus(DrsFileStatus drsFileStatus)
DRS file statusManagedInstanceUsage.Builder
hostId(String hostId)
The host OCID of the related managed instance.ManagedInstanceUsage.Builder
hostname(String hostname)
The hostname of the managed instance (if applicable).ManagedInstanceUsage.Builder
managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.ManagedInstanceUsage.Builder
managedInstanceType(ManagedInstanceType managedInstanceType)
The type of the source of events.ManagedInstanceUsage.Builder
operatingSystem(OperatingSystem operatingSystem)
ManagedInstanceUsage.Builder
timeEnd(Date timeEnd)
Upper bound of the specified time period filter.ManagedInstanceUsage.Builder
timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS.ManagedInstanceUsage.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.ManagedInstanceUsage.Builder
timeStart(Date timeStart)
Lower bound of the specified time period filter.
-
-
-
Method Detail
-
managedInstanceId
public ManagedInstanceUsage.Builder managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder
-
managedInstanceType
public ManagedInstanceUsage.Builder managedInstanceType(ManagedInstanceType managedInstanceType)
The type of the source of events.- Parameters:
managedInstanceType
- the value to set- Returns:
- this builder
-
hostname
public ManagedInstanceUsage.Builder hostname(String hostname)
The hostname of the managed instance (if applicable).- Parameters:
hostname
- the value to set- Returns:
- this builder
-
hostId
public ManagedInstanceUsage.Builder hostId(String hostId)
The host OCID of the related managed instance.- Parameters:
hostId
- the value to set- Returns:
- this builder
-
operatingSystem
public ManagedInstanceUsage.Builder operatingSystem(OperatingSystem operatingSystem)
-
agent
public ManagedInstanceUsage.Builder agent(Agent agent)
-
approximateApplicationCount
public ManagedInstanceUsage.Builder approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications reported by this managed instance.- Parameters:
approximateApplicationCount
- the value to set- Returns:
- this builder
-
approximateInstallationCount
public ManagedInstanceUsage.Builder approximateInstallationCount(Integer approximateInstallationCount)
The approximate count of installations reported by this managed instance.- Parameters:
approximateInstallationCount
- the value to set- Returns:
- this builder
-
approximateJreCount
public ManagedInstanceUsage.Builder approximateJreCount(Integer approximateJreCount)
The approximate count of Java Runtimes reported by this managed instance.- Parameters:
approximateJreCount
- the value to set- Returns:
- this builder
-
drsFileStatus
public ManagedInstanceUsage.Builder drsFileStatus(DrsFileStatus drsFileStatus)
DRS file status- Parameters:
drsFileStatus
- the value to set- Returns:
- this builder
-
applicationInvokedBy
public ManagedInstanceUsage.Builder applicationInvokedBy(String applicationInvokedBy)
Comma separated list of user names that invoked applications within this managed instance.- Parameters:
applicationInvokedBy
- the value to set- Returns:
- this builder
-
timeStart
public ManagedInstanceUsage.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 ManagedInstanceUsage.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 ManagedInstanceUsage.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 ManagedInstanceUsage.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 ManagedInstanceUsage build()
-
copy
public ManagedInstanceUsage.Builder copy(ManagedInstanceUsage model)
-
-