Class UserAttributeMapperConfig.Builder
java.lang.Object
com.inductiveautomation.ignition.gateway.auth.mapper.attr.user.UserAttributeMapperConfig.Builder
- Enclosing class:
- UserAttributeMapperConfig
Builder in order to make creating
UserAttributeMapperConfig instances less painful.-
Method Summary
Modifier and TypeMethodDescriptionbuild()email(AttributeMapperConfig email) firstName(AttributeMapperConfig firstName) lastName(AttributeMapperConfig lastName) roles(AttributeMapperConfig roles) userName(AttributeMapperConfig userName)
-
Method Details
-
id
-
userName
-
firstName
@Nonnull public UserAttributeMapperConfig.Builder firstName(@Nullable AttributeMapperConfig firstName) -
lastName
@Nonnull public UserAttributeMapperConfig.Builder lastName(@Nullable AttributeMapperConfig lastName) -
email
-
roles
-
build
- Returns:
- the new
UserAttributeMapperConfigbuilt from thisUserAttributeMapperConfig.Builder - Throws:
IllegalArgumentException- if the ID or username mapper configs are null
-