Class ClassicAdministratorInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.ClassicAdministratorInner
-
public final class ClassicAdministratorInner extends Object
Classic Administrators.
-
-
Constructor Summary
Constructors Constructor Description ClassicAdministratorInner()
-
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
id()
Get the id property: The ID of the administrator.String
name()
Get the name property: The name of the administrator.String
role()
Get the role property: The role of the administrator.String
type()
Get the type property: The type of the administrator.void
validate()
Validates the instance.ClassicAdministratorInner
withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of the administrator.ClassicAdministratorInner
withId(String id)
Set the id property: The ID of the administrator.ClassicAdministratorInner
withName(String name)
Set the name property: The name of the administrator.ClassicAdministratorInner
withRole(String role)
Set the role property: The role of the administrator.ClassicAdministratorInner
withType(String type)
Set the type property: The type of the administrator.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The ID of the administrator.- Returns:
- the id value.
-
withId
public ClassicAdministratorInner withId(String id)
Set the id property: The ID of the administrator.- Parameters:
id
- the id value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
name
public String name()
Get the name property: The name of the administrator.- Returns:
- the name value.
-
withName
public ClassicAdministratorInner withName(String name)
Set the name property: The name of the administrator.- Parameters:
name
- the name value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
type
public String type()
Get the type property: The type of the administrator.- Returns:
- the type value.
-
withType
public ClassicAdministratorInner withType(String type)
Set the type property: The type of the administrator.- Parameters:
type
- the type value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
emailAddress
public String emailAddress()
Get the emailAddress property: The email address of the administrator.- Returns:
- the emailAddress value.
-
withEmailAddress
public ClassicAdministratorInner withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of the administrator.- Parameters:
emailAddress
- the emailAddress value to set.- Returns:
- the ClassicAdministratorInner object itself.
-
role
public String role()
Get the role property: The role of the administrator.- Returns:
- the role value.
-
withRole
public ClassicAdministratorInner withRole(String role)
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.
-
-