Interface GetFlagResponse.Builder

  • Method Details

    • enabled

      GetFlagResponse.Builder enabled(Boolean enabled)

      Whether the flag is enabled.

      Parameters:
      enabled - Whether the flag is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • variant

      GetFlagResponse.Builder variant(String variant)

      The name of the variant the request context matched, absent when the flag has no variants.

      Parameters:
      variant - The name of the variant the request context matched, absent when the flag has no variants.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      The flag's attribute values, by attribute key, absent when the flag has none.

      Parameters:
      attributes - The flag's attribute values, by attribute key, absent when the flag has none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.