Interface ServiceLimit.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ServiceLimit.Builder,ServiceLimit>, SdkBuilder<ServiceLimit.Builder,ServiceLimit>, SdkPojo
Enclosing class:
ServiceLimit

public static interface ServiceLimit.Builder extends SdkPojo, CopyableBuilder<ServiceLimit.Builder,ServiceLimit>
  • Method Details

    • 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

      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

      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:
    • 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.