Class NodeStatusProperties.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of NodeStatusProperties.
    • Method Detail

      • setLinks

        public NodeStatusProperties.Builder setLinks​(java.util.List<ResourceLink> links)
        The server will populate this field when returing the resource. Ignored on PUT and POST. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        links - New value for the property.
      • setSchema

        public NodeStatusProperties.Builder setSchema​(java.lang.String schema)
        Schema for this resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        schema - New value for the property.
      • setCpuCores

        public NodeStatusProperties.Builder setCpuCores​(java.lang.Long cpuCores)
        Number of CPU cores on the system format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        cpuCores - New value for the property.
      • setCpuSockets

        public NodeStatusProperties.Builder setCpuSockets​(java.lang.Long cpuSockets)
        Number of CPU sockets on the system format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        cpuSockets - New value for the property.
      • setDiskSpaceTotal

        public NodeStatusProperties.Builder setDiskSpaceTotal​(java.lang.Long diskSpaceTotal)
        Amount of disk space available on the system, in kilobytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        diskSpaceTotal - New value for the property.
      • setDiskSpaceUsed

        public NodeStatusProperties.Builder setDiskSpaceUsed​(java.lang.Long diskSpaceUsed)
        Amount of disk space in use on the system, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        diskSpaceUsed - New value for the property.
      • setDpdkCpuCores

        public NodeStatusProperties.Builder setDpdkCpuCores​(java.lang.Long dpdkCpuCores)
        Number of DPDK cores on Edge Node which are used for packet IO processing. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        dpdkCpuCores - New value for the property.
      • setDpus

        public NodeStatusProperties.Builder setDpus​(java.util.List<DpuStatusProperties> dpus)
        Data processing units on the system This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        dpus - New value for the property.
      • setFileSystems

        public NodeStatusProperties.Builder setFileSystems​(java.util.List<NodeFileSystemProperties> fileSystems)
        File systems configured on the system This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        fileSystems - New value for the property.
      • setHostname

        public NodeStatusProperties.Builder setHostname​(java.lang.String hostname)
        Host name of the system This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        hostname - New value for the property.
      • setLoadAverage

        public NodeStatusProperties.Builder setLoadAverage​(java.util.List<java.lang.Double> loadAverage)
        One, five, and fifteen minute load averages for the system This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        loadAverage - New value for the property.
      • setMemCache

        public NodeStatusProperties.Builder setMemCache​(java.lang.Long memCache)
        Amount of RAM on the system that can be flushed out to disk, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        memCache - New value for the property.
      • setMemTotal

        public NodeStatusProperties.Builder setMemTotal​(java.lang.Long memTotal)
        Amount of RAM allocated to the system, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        memTotal - New value for the property.
      • setMemUsed

        public NodeStatusProperties.Builder setMemUsed​(java.lang.Long memUsed)
        Amount of RAM in use on the system, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        memUsed - New value for the property.
      • setNonDpdkCpuCores

        public NodeStatusProperties.Builder setNonDpdkCpuCores​(java.lang.Long nonDpdkCpuCores)
        Number of non-DPDK cores on Edge Node. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        nonDpdkCpuCores - New value for the property.
      • setRemoteLoggingServerConfigured

        public NodeStatusProperties.Builder setRemoteLoggingServerConfigured​(java.lang.Boolean remoteLoggingServerConfigured)
        Indicates if remote logging server is configured. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        remoteLoggingServerConfigured - New value for the property.
      • setSwapTotal

        public NodeStatusProperties.Builder setSwapTotal​(java.lang.Long swapTotal)
        Amount of disk available for swap, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        swapTotal - New value for the property.
      • setSwapUsed

        public NodeStatusProperties.Builder setSwapUsed​(java.lang.Long swapUsed)
        Amount of swap disk in use, in kilobytes format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        swapUsed - New value for the property.
      • setSystemTime

        public NodeStatusProperties.Builder setSystemTime​(java.lang.Long systemTime)
        Current time expressed in milliseconds since epoch format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        systemTime - New value for the property.
      • setUptime

        public NodeStatusProperties.Builder setUptime​(java.lang.Long uptime)
        Milliseconds since system start format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        uptime - New value for the property.