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 Summary
Modifier and TypeMethodDescriptionrules(Collection<MappingRule> rules) An array of rules.rules(Consumer<MappingRule.Builder>... rules) An array of rules.rules(MappingRule... rules) An array of rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 theMappingRule.Builderavoiding the need to create one manually viaMappingRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<MappingRule>).- Parameters:
rules- a consumer that will call methods onMappingRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-