Class ClassicAdministratorInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.ClassicAdministratorInner
Classic Administrators.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClassicAdministratorInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the emailAddress property: The email address of the administrator.id()Get the id property: The ID of the administrator.name()Get the name property: The name of the administrator.role()Get the role property: The role of the administrator.type()Get the type property: The type of the administrator.voidvalidate()Validates the instance.withEmailAddress(String emailAddress) Set the emailAddress property: The email address of the administrator.Set the id property: The ID of the administrator.Set the name property: The name of the administrator.Set the role property: The role of the administrator.Set the type property: The type of the administrator.
-
Constructor Details
-
ClassicAdministratorInner
public ClassicAdministratorInner()Creates an instance of ClassicAdministratorInner class.
-
-
Method Details
-
id
Get the id property: The ID of the administrator.- Returns:
- the id value.
-
withId
Set the id property: The ID of the administrator.- Parameters:
id- the id value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
name
Get the name property: The name of the administrator.- Returns:
- the name value.
-
withName
Set the name property: The name of the administrator.- Parameters:
name- the name value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
type
Get the type property: The type of the administrator.- Returns:
- the type value.
-
withType
Set the type property: The type of the administrator.- Parameters:
type- the type value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
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 ClassicAdministratorInner 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 ClassicAdministratorInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-