Class DeployedApplicationUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • applicationKey

        public DeployedApplicationUsage.Builder applicationKey​(String applicationKey)
        The internal identifier of the deployed application.
        Parameters:
        applicationKey - the value to set
        Returns:
        this builder
      • applicationName

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

        public DeployedApplicationUsage.Builder applicationType​(String applicationType)
        The type of the deployed application.
        Parameters:
        applicationType - the value to set
        Returns:
        this builder
      • isClustered

        public DeployedApplicationUsage.Builder isClustered​(Boolean isClustered)
        Whether or not the deployed application is clustered.
        Parameters:
        isClustered - the value to set
        Returns:
        this builder
      • approximateJavaServerInstanceCount

        public DeployedApplicationUsage.Builder approximateJavaServerInstanceCount​(Integer approximateJavaServerInstanceCount)
        The approximate count of Java Server instances running the deployed application.
        Parameters:
        approximateJavaServerInstanceCount - the value to set
        Returns:
        this builder
      • approximateLibraryCount

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

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