Class TopProcessesUsage.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • command

        public TopProcessesUsage.Builder command​(String command)
        Command line and arguments used to launch process.
        Parameters:
        command - the value to set
        Returns:
        this builder
      • containerId

        public TopProcessesUsage.Builder containerId​(String containerId)
        Container id if this process corresponds to a running container in the host.
        Parameters:
        containerId - the value to set
        Returns:
        this builder
      • processHash

        public TopProcessesUsage.Builder processHash​(String processHash)
        Unique identifier for a process.
        Parameters:
        processHash - the value to set
        Returns:
        this builder
      • cpuUsage

        public TopProcessesUsage.Builder cpuUsage​(Double cpuUsage)
        Process CPU usage.
        Parameters:
        cpuUsage - the value to set
        Returns:
        this builder
      • cpuUtilization

        public TopProcessesUsage.Builder cpuUtilization​(Double cpuUtilization)
        Process CPU utilization percentage.
        Parameters:
        cpuUtilization - the value to set
        Returns:
        this builder
      • memoryUtilization

        public TopProcessesUsage.Builder memoryUtilization​(Double memoryUtilization)
        Process memory utilization percentage.
        Parameters:
        memoryUtilization - the value to set
        Returns:
        this builder
      • virtualMemoryInMBs

        public TopProcessesUsage.Builder virtualMemoryInMBs​(Double virtualMemoryInMBs)
        Process virtual memory in Megabytes.
        Parameters:
        virtualMemoryInMBs - the value to set
        Returns:
        this builder
      • physicalMemoryInMBs

        public TopProcessesUsage.Builder physicalMemoryInMBs​(Double physicalMemoryInMBs)
        Procress physical memory in Megabytes.
        Parameters:
        physicalMemoryInMBs - the value to set
        Returns:
        this builder
      • maxProcessCount

        public TopProcessesUsage.Builder maxProcessCount​(Integer maxProcessCount)
        Maximum number of processes running at time of collection.
        Parameters:
        maxProcessCount - the value to set
        Returns:
        this builder