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.Builderagent(Agent agent)ManagedInstanceUsage.BuilderapplicationInvokedBy(String applicationInvokedBy)Comma separated list of user names that invoked applications within this managed instance.ManagedInstanceUsage.BuilderapproximateApplicationCount(Integer approximateApplicationCount)The approximate count of applications reported by this managed instance.ManagedInstanceUsage.BuilderapproximateInstallationCount(Integer approximateInstallationCount)The approximate count of installations reported by this managed instance.ManagedInstanceUsage.BuilderapproximateJreCount(Integer approximateJreCount)The approximate count of Java Runtimes reported by this managed instance.ManagedInstanceUsagebuild()ManagedInstanceUsage.BuilderclusterDetails(ClusterDetails clusterDetails)ManagedInstanceUsage.Buildercopy(ManagedInstanceUsage model)ManagedInstanceUsage.BuilderdrsFileStatus(DrsFileStatus drsFileStatus)DRS file statusManagedInstanceUsage.Builderfqdns(List<String> fqdns)Captured fully qualify domain names of the managed instance.ManagedInstanceUsage.BuilderhostId(String hostId)The host OCID of the related managed instance.ManagedInstanceUsage.Builderhostname(String hostname)The hostname of the managed instance (if applicable).ManagedInstanceUsage.Builderhostnames(List<String> hostnames)Captured hostnames of the managed instance.ManagedInstanceUsage.BuilderipAddresses(List<String> ipAddresses)Captured IP addresses of the managed instance.ManagedInstanceUsage.BuildermanagedInstanceId(String managedInstanceId)The OCID of the related managed instance.ManagedInstanceUsage.BuildermanagedInstanceType(ManagedInstanceType managedInstanceType)The type of the source of events.ManagedInstanceUsage.BuilderoperatingSystem(OperatingSystem operatingSystem)ManagedInstanceUsage.BuildertimeEnd(Date timeEnd)Upper bound of the specified time period filter.ManagedInstanceUsage.BuildertimeFirstSeen(Date timeFirstSeen)The date and time the resource was first reported to JMS.ManagedInstanceUsage.BuildertimeLastSeen(Date timeLastSeen)The date and time the resource was last reported to JMS.ManagedInstanceUsage.BuildertimeStart(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
-
ipAddresses
public ManagedInstanceUsage.Builder ipAddresses(List<String> ipAddresses)
Captured IP addresses of the managed instance.- Parameters:
ipAddresses- the value to set- Returns:
- this builder
-
hostnames
public ManagedInstanceUsage.Builder hostnames(List<String> hostnames)
Captured hostnames of the managed instance.- Parameters:
hostnames- the value to set- Returns:
- this builder
-
fqdns
public ManagedInstanceUsage.Builder fqdns(List<String> fqdns)
Captured fully qualify domain names of the managed instance.- Parameters:
fqdns- the value to set- Returns:
- this builder
-
operatingSystem
public ManagedInstanceUsage.Builder operatingSystem(OperatingSystem operatingSystem)
-
agent
public ManagedInstanceUsage.Builder agent(Agent agent)
-
clusterDetails
public ManagedInstanceUsage.Builder clusterDetails(ClusterDetails clusterDetails)
-
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)
-
-