Package com.oracle.bmc.jms.model
Class JavaServerInstanceUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.JavaServerInstanceUsage.Builder
-
- Enclosing class:
- JavaServerInstanceUsage
public static class JavaServerInstanceUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaServerInstanceUsage.Builder
approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications in the Java Server instance.JavaServerInstanceUsage
build()
JavaServerInstanceUsage.Builder
copy(JavaServerInstanceUsage model)
JavaServerInstanceUsage.Builder
fleetId(String fleetId)
The OCID of the related Fleet.JavaServerInstanceUsage.Builder
hostName(String hostName)
The host name of the related managed instance.JavaServerInstanceUsage.Builder
jvmDistribution(String jvmDistribution)
The distribution of the Java Runtime.JavaServerInstanceUsage.Builder
jvmKey(String jvmKey)
The internal identifier of the related Java Runtime.JavaServerInstanceUsage.Builder
jvmSecurityStatus(JreSecurityStatus jvmSecurityStatus)
The security status of the Java Runtime.JavaServerInstanceUsage.Builder
jvmVendor(String jvmVendor)
The vendor of the Java Runtime.JavaServerInstanceUsage.Builder
jvmVersion(String jvmVersion)
The version of the Java Runtime.JavaServerInstanceUsage.Builder
managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.JavaServerInstanceUsage.Builder
serverInstanceKey(String serverInstanceKey)
The internal identifier of the Java Server instance.JavaServerInstanceUsage.Builder
serverInstanceName(String serverInstanceName)
The name of the Java Server instance.JavaServerInstanceUsage.Builder
serverInstancePort(Integer serverInstancePort)
The port of the Java Server instance.JavaServerInstanceUsage.Builder
serverKey(String serverKey)
The internal identifier of the related Java Server.JavaServerInstanceUsage.Builder
serverName(String serverName)
The name of the Java Server.JavaServerInstanceUsage.Builder
serverVersion(String serverVersion)
The version of the Java Server.JavaServerInstanceUsage.Builder
timeEnd(Date timeEnd)
Upper bound of the specified time period filter.JavaServerInstanceUsage.Builder
timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS.JavaServerInstanceUsage.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.JavaServerInstanceUsage.Builder
timeStart(Date timeStart)
Lower bound of the specified time period filter.
-
-
-
Method Detail
-
serverInstanceKey
public JavaServerInstanceUsage.Builder serverInstanceKey(String serverInstanceKey)
The internal identifier of the Java Server instance.- Parameters:
serverInstanceKey
- the value to set- Returns:
- this builder
-
fleetId
public JavaServerInstanceUsage.Builder fleetId(String fleetId)
The OCID of the related Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
serverInstanceName
public JavaServerInstanceUsage.Builder serverInstanceName(String serverInstanceName)
The name of the Java Server instance.- Parameters:
serverInstanceName
- the value to set- Returns:
- this builder
-
serverInstancePort
public JavaServerInstanceUsage.Builder serverInstancePort(Integer serverInstancePort)
The port of the Java Server instance.- Parameters:
serverInstancePort
- the value to set- Returns:
- this builder
-
serverKey
public JavaServerInstanceUsage.Builder serverKey(String serverKey)
The internal identifier of the related Java Server.- Parameters:
serverKey
- the value to set- Returns:
- this builder
-
serverName
public JavaServerInstanceUsage.Builder serverName(String serverName)
The name of the Java Server.- Parameters:
serverName
- the value to set- Returns:
- this builder
-
serverVersion
public JavaServerInstanceUsage.Builder serverVersion(String serverVersion)
The version of the Java Server.- Parameters:
serverVersion
- the value to set- Returns:
- this builder
-
managedInstanceId
public JavaServerInstanceUsage.Builder managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder
-
hostName
public JavaServerInstanceUsage.Builder hostName(String hostName)
The host name of the related managed instance.- Parameters:
hostName
- the value to set- Returns:
- this builder
-
jvmKey
public JavaServerInstanceUsage.Builder jvmKey(String jvmKey)
The internal identifier of the related Java Runtime.- Parameters:
jvmKey
- the value to set- Returns:
- this builder
-
jvmVendor
public JavaServerInstanceUsage.Builder jvmVendor(String jvmVendor)
The vendor of the Java Runtime.- Parameters:
jvmVendor
- the value to set- Returns:
- this builder
-
jvmDistribution
public JavaServerInstanceUsage.Builder jvmDistribution(String jvmDistribution)
The distribution of the Java Runtime.- Parameters:
jvmDistribution
- the value to set- Returns:
- this builder
-
jvmVersion
public JavaServerInstanceUsage.Builder jvmVersion(String jvmVersion)
The version of the Java Runtime.- Parameters:
jvmVersion
- the value to set- Returns:
- this builder
-
jvmSecurityStatus
public JavaServerInstanceUsage.Builder jvmSecurityStatus(JreSecurityStatus jvmSecurityStatus)
The security status of the Java Runtime.- Parameters:
jvmSecurityStatus
- the value to set- Returns:
- this builder
-
approximateDeployedApplicationCount
public JavaServerInstanceUsage.Builder approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications in the Java Server instance.- Parameters:
approximateDeployedApplicationCount
- the value to set- Returns:
- this builder
-
timeStart
public JavaServerInstanceUsage.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 JavaServerInstanceUsage.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 JavaServerInstanceUsage.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 JavaServerInstanceUsage.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 JavaServerInstanceUsage build()
-
copy
public JavaServerInstanceUsage.Builder copy(JavaServerInstanceUsage model)
-
-