Interface AttributeCondition.Builder

  • Method Details

    • name

      The name of predefined attribute.

      Parameters:
      name - The name of predefined attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value of predefined attribute.

      Parameters:
      value - The value of predefined attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • proficiencyLevel

      AttributeCondition.Builder proficiencyLevel(Float proficiencyLevel)

      The proficiency level of the condition.

      Parameters:
      proficiencyLevel - The proficiency level of the condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchCriteria

      AttributeCondition.Builder matchCriteria(MatchCriteria matchCriteria)

      An object to define AgentsCriteria.

      Parameters:
      matchCriteria - An object to define AgentsCriteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchCriteria

      default AttributeCondition.Builder matchCriteria(Consumer<MatchCriteria.Builder> matchCriteria)

      An object to define AgentsCriteria.

      This is a convenience method that creates an instance of the MatchCriteria.Builder avoiding the need to create one manually via MatchCriteria.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to matchCriteria(MatchCriteria).

      Parameters:
      matchCriteria - a consumer that will call methods on MatchCriteria.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comparisonOperator

      AttributeCondition.Builder comparisonOperator(String comparisonOperator)

      The operator of the condition.

      Parameters:
      comparisonOperator - The operator of the condition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.