Class ClassicAdministratorProperties
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.ClassicAdministratorProperties
Classic Administrator properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClassicAdministratorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: The email address of the administrator.role()Get the role property: The role of the administrator.voidvalidate()Validates the instance.withEmailAddress(String emailAddress) Set the emailAddress property: The email address of the administrator.Set the role property: The role of the administrator.
-
Constructor Details
-
ClassicAdministratorProperties
public ClassicAdministratorProperties()Creates an instance of ClassicAdministratorProperties class.
-
-
Method Details
-
emailAddress
Get the emailAddress property: The email address of the administrator.- Returns:
- the emailAddress value.
-
withEmailAddress
Set the emailAddress property: The email address of the administrator.- Parameters:
emailAddress- the emailAddress value to set.- Returns:
- the ClassicAdministratorProperties object itself.
-
role
Get the role property: The role of the administrator.- Returns:
- the role value.
-
withRole
Set the role property: The role of the administrator.- Parameters:
role- the role value to set.- Returns:
- the ClassicAdministratorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-