Class JavaServerInstanceUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • jvmDistribution

        public JavaServerInstanceUsage.Builder jvmDistribution​(String jvmDistribution)
        The distribution of the Java Runtime.
        Parameters:
        jvmDistribution - 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