Class UserSet
java.lang.Object
com.azure.resourcemanager.authorization.models.UserSet
The detail of a user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the user.id()Get the id property: The object id of the user.isBackup()Get the isBackup property: The value indicating whether the user is a backup fallback approver.userType()Get the userType property: The type of user.voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description of the user.Set the id property: The object id of the user.withIsBackup(Boolean isBackup) Set the isBackup property: The value indicating whether the user is a backup fallback approver.withUserType(UserType userType) Set the userType property: The type of user.
-
Constructor Details
-
UserSet
public UserSet()Creates an instance of UserSet class.
-
-
Method Details
-
userType
Get the userType property: The type of user.- Returns:
- the userType value.
-
withUserType
Set the userType property: The type of user.- Parameters:
userType- the userType value to set.- Returns:
- the UserSet object itself.
-
isBackup
Get the isBackup property: The value indicating whether the user is a backup fallback approver.- Returns:
- the isBackup value.
-
withIsBackup
Set the isBackup property: The value indicating whether the user is a backup fallback approver.- Parameters:
isBackup- the isBackup value to set.- Returns:
- the UserSet object itself.
-
id
Get the id property: The object id of the user.- Returns:
- the id value.
-
withId
Set the id property: The object id of the user.- Parameters:
id- the id value to set.- Returns:
- the UserSet object itself.
-
description
Get the description property: The description of the user.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the user.- Parameters:
description- the description value to set.- Returns:
- the UserSet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-