Class JavaServerUsage.Builder

    • Constructor Detail

      • Builder

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