Package com.oracle.bmc.jms.model
Class JavaServerUsage.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.JavaServerUsage.Builder
-
- Enclosing class:
- JavaServerUsage
public static class JavaServerUsage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaServerUsage.Builder
approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications in the Java Server.JavaServerUsage
build()
JavaServerUsage.Builder
copy(JavaServerUsage model)
JavaServerUsage.Builder
fleetId(String fleetId)
The OCID of the related fleet.JavaServerUsage.Builder
serverInstanceCount(Integer serverInstanceCount)
The count of server instances of the Java Server.JavaServerUsage.Builder
serverKey(String serverKey)
The internal identifier of the Java Server.JavaServerUsage.Builder
serverName(String serverName)
The name of the Java Server.JavaServerUsage.Builder
serverVersion(String serverVersion)
The version of the Java Server.JavaServerUsage.Builder
timeEnd(Date timeEnd)
Upper bound of the specified time period filter.JavaServerUsage.Builder
timeFirstSeen(Date timeFirstSeen)
The date and time the resource was first reported to JMS.JavaServerUsage.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.JavaServerUsage.Builder
timeStart(Date timeStart)
Lower bound of the specified time period filter.
-
-
-
Method Detail
-
serverKey
public JavaServerUsage.Builder serverKey(String serverKey)
The internal identifier of the Java Server.- Parameters:
serverKey
- the value to set- Returns:
- this builder
-
fleetId
public JavaServerUsage.Builder fleetId(String fleetId)
The OCID of the related fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
serverName
public JavaServerUsage.Builder serverName(String serverName)
The name of the Java Server.- Parameters:
serverName
- the value to set- Returns:
- this builder
-
serverVersion
public JavaServerUsage.Builder serverVersion(String serverVersion)
The version of the Java Server.- Parameters:
serverVersion
- the value to set- Returns:
- this builder
-
serverInstanceCount
public JavaServerUsage.Builder serverInstanceCount(Integer serverInstanceCount)
The count of server instances of the Java Server.- Parameters:
serverInstanceCount
- the value to set- Returns:
- this builder
-
approximateDeployedApplicationCount
public JavaServerUsage.Builder approximateDeployedApplicationCount(Integer approximateDeployedApplicationCount)
The approximate count of deployed applications in the Java Server.- Parameters:
approximateDeployedApplicationCount
- the value to set- Returns:
- this builder
-
timeStart
public JavaServerUsage.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 JavaServerUsage.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 JavaServerUsage.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 JavaServerUsage.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 JavaServerUsage build()
-
copy
public JavaServerUsage.Builder copy(JavaServerUsage model)
-
-