Class ManagedInstanceUsage.Builder

    • Constructor Detail

      • Builder

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

        public ManagedInstanceUsage.Builder hostname​(String hostname)
        The hostname of the managed instance (if applicable).
        Parameters:
        hostname - the value to set
        Returns:
        this builder
      • 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
      • 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