Class InstallationUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • installationKey

        public InstallationUsage.Builder installationKey​(String installationKey)
        The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
        Parameters:
        installationKey - the value to set
        Returns:
        this builder
      • jreVendor

        public InstallationUsage.Builder jreVendor​(String jreVendor)
        The vendor of the Java Runtime that is deployed with the installation.
        Parameters:
        jreVendor - the value to set
        Returns:
        this builder
      • jreDistribution

        public InstallationUsage.Builder jreDistribution​(String jreDistribution)
        The distribution of the Java Runtime that is deployed with the installation.
        Parameters:
        jreDistribution - the value to set
        Returns:
        this builder
      • jreVersion

        public InstallationUsage.Builder jreVersion​(String jreVersion)
        The version of the Java Runtime that is deployed with the installation.
        Parameters:
        jreVersion - the value to set
        Returns:
        this builder
      • path

        public InstallationUsage.Builder path​(String path)
        The file system path of the Java installation.
        Parameters:
        path - the value to set
        Returns:
        this builder
      • os

        public InstallationUsage.Builder os​(String os)
        The Operating System for the installation.

        Deprecated, use operatingSystem instead.

        Parameters:
        os - the value to set
        Returns:
        this builder
      • architecture

        public InstallationUsage.Builder architecture​(String architecture)
        The architecture of the operating system for the installation.

        Deprecated, use operatingSystem instead.

        Parameters:
        architecture - the value to set
        Returns:
        this builder
      • approximateApplicationCount

        public InstallationUsage.Builder approximateApplicationCount​(Integer approximateApplicationCount)
        The approximate count of applications running on this installation
        Parameters:
        approximateApplicationCount - the value to set
        Returns:
        this builder
      • approximateManagedInstanceCount

        public InstallationUsage.Builder approximateManagedInstanceCount​(Integer approximateManagedInstanceCount)
        The approximate count of managed instances reporting this installation
        Parameters:
        approximateManagedInstanceCount - the value to set
        Returns:
        this builder
      • timeStart

        public InstallationUsage.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 InstallationUsage.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 InstallationUsage.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 InstallationUsage.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