Interface Duration.Builder

    • Method Detail

      • value

        Duration.Builder value​(Long value)

        Integer to specify the value of a maintenance schedule duration.

        Parameters:
        value - Integer to specify the value of a maintenance schedule duration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Duration.Builder unit​(String unit)

        The unit of measurement for the duration of a maintenance schedule.

        Parameters:
        unit - The unit of measurement for the duration of a maintenance schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeUnit, TimeUnit
      • unit

        Duration.Builder unit​(TimeUnit unit)

        The unit of measurement for the duration of a maintenance schedule.

        Parameters:
        unit - The unit of measurement for the duration of a maintenance schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeUnit, TimeUnit