Class ApplicationUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • applicationId

        public ApplicationUsage.Builder applicationId​(String applicationId)
        An internal identifier for the application that is unique to a fleet.
        Parameters:
        applicationId - the value to set
        Returns:
        this builder
      • displayName

        public ApplicationUsage.Builder displayName​(String displayName)
        The name of the application.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • applicationType

        public ApplicationUsage.Builder applicationType​(String applicationType)
        The type of the application denoted by how the application was started.
        Parameters:
        applicationType - the value to set
        Returns:
        this builder
      • operatingSystems

        public ApplicationUsage.Builder operatingSystems​(List<OperatingSystem> operatingSystems)
        The operating systems running this application.
        Parameters:
        operatingSystems - the value to set
        Returns:
        this builder
      • approximateInstallationCount

        public ApplicationUsage.Builder approximateInstallationCount​(Integer approximateInstallationCount)
        The approximate count of installations running this application.
        Parameters:
        approximateInstallationCount - the value to set
        Returns:
        this builder
      • approximateJreCount

        public ApplicationUsage.Builder approximateJreCount​(Integer approximateJreCount)
        The approximate count of Java Runtimes running this application.
        Parameters:
        approximateJreCount - the value to set
        Returns:
        this builder
      • approximateManagedInstanceCount

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

        public ApplicationUsage.Builder approximateLibraryCount​(Integer approximateLibraryCount)
        The approximate count of libraries in this application.
        Parameters:
        approximateLibraryCount - the value to set
        Returns:
        this builder
      • timeStart

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