Interface Capacity.Builder

    • Method Detail

      • available

        Capacity.Builder available​(Long available)

        The amount of capacity available for use on the device.

        Parameters:
        available - The amount of capacity available for use on the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Capacity.Builder name​(String name)

        The name of the type of capacity, such as memory.

        Parameters:
        name - The name of the type of capacity, such as memory.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • total

        Capacity.Builder total​(Long total)

        The total capacity on the device.

        Parameters:
        total - The total capacity on the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Capacity.Builder unit​(String unit)

        The unit of measure for the type of capacity.

        Parameters:
        unit - The unit of measure for the type of capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • used

        Capacity.Builder used​(Long used)

        The amount of capacity used on the device.

        Parameters:
        used - The amount of capacity used on the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.