Class ClassicAdministratorProperties
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.ClassicAdministratorProperties
-
public final class ClassicAdministratorProperties extends Object
Classic Administrator properties.
-
-
Constructor Summary
Constructors Constructor Description ClassicAdministratorProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
emailAddress()
Get the emailAddress property: The email address of the administrator.String
role()
Get the role property: The role of the administrator.void
validate()
Validates the instance.ClassicAdministratorProperties
withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of the administrator.ClassicAdministratorProperties
withRole(String role)
Set the role property: The role of the administrator.
-
-
-
Method Detail
-
emailAddress
public String emailAddress()
Get the emailAddress property: The email address of the administrator.- Returns:
- the emailAddress value.
-
withEmailAddress
public ClassicAdministratorProperties withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of the administrator.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the ClassicAdministratorProperties object itself.
-
role
public String role()
Get the role property: The role of the administrator.- Returns:
- the role value.
-
withRole
public ClassicAdministratorProperties withRole(String role)
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.
-
-