Interface ServiceLimit.Builder

    • Method Detail

      • isServiceLimited

        ServiceLimit.Builder isServiceLimited​(Boolean isServiceLimited)

        Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

        Parameters:
        isServiceLimited - Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        ServiceLimit.Builder unit​(String unit)

        The unit of measurement for the value specified by the value field.

        Parameters:
        unit - The unit of measurement for the value specified by the value field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit
      • unit

        ServiceLimit.Builder unit​(Unit unit)

        The unit of measurement for the value specified by the value field.

        Parameters:
        unit - The unit of measurement for the value specified by the value field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Unit, Unit
      • value

        ServiceLimit.Builder value​(Long value)

        The value for the metric specified by the UsageByAccount.type field in the response.

        Parameters:
        value - The value for the metric specified by the UsageByAccount.type field in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.