Interface Duration.Builder

    • Method Detail

      • value

        Duration.Builder value​(Long value)

        Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

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

        Duration.Builder unit​(String unit)

        Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

        Parameters:
        unit - Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
        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)

        Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.

        Parameters:
        unit - Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeUnit, TimeUnit