Interface RulesConfigurationType.Builder

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

@Mutable @NotThreadSafe public static interface RulesConfigurationType.Builder extends SdkPojo, CopyableBuilder<RulesConfigurationType.Builder,RulesConfigurationType>
  • Method Details

    • rules

      An array of rules. You can specify up to 25 rules per identity provider.

      Rules are evaluated in order. The first one to match specifies the role.

      Parameters:
      rules - An array of rules. You can specify up to 25 rules per identity provider.

      Rules are evaluated in order. The first one to match specifies the role.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array of rules. You can specify up to 25 rules per identity provider.

      Rules are evaluated in order. The first one to match specifies the role.

      Parameters:
      rules - An array of rules. You can specify up to 25 rules per identity provider.

      Rules are evaluated in order. The first one to match specifies the role.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array of rules. You can specify up to 25 rules per identity provider.

      Rules are evaluated in order. The first one to match specifies the role.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rules(List<MappingRule>).

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