你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ClassicAdministratorInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. ClassicAdministratorInner
- com.
Implements
public final class ClassicAdministratorInner
implements JsonSerializable<ClassicAdministratorInner>
Classic Administrators.
Constructor Summary
Constructor | Description |
---|---|
ClassicAdministratorInner() |
Creates an instance of Classic |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
emailAddress()
Get the email |
static
Classic |
fromJson(JsonReader jsonReader)
Reads an instance of Classic |
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. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the administrator. |
void |
validate()
Validates the instance. |
Classic |
withEmailAddress(String emailAddress)
Set the email |
Classic |
withId(String id)
Set the id property: The ID of the administrator. |
Classic |
withName(String name)
Set the name property: The name of the administrator. |
Classic |
withRole(String role)
Set the role property: The role of the administrator. |
Classic |
withType(String type)
Set the type property: The type of the administrator. |
Methods inherited from java.lang.Object
Constructor Details
ClassicAdministratorInner
public ClassicAdministratorInner()
Creates an instance of ClassicAdministratorInner class.
Method Details
emailAddress
public String emailAddress()
Get the emailAddress property: The email address of the administrator.
Returns:
fromJson
public static ClassicAdministratorInner fromJson(JsonReader jsonReader)
Reads an instance of ClassicAdministratorInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the administrator.
Returns:
name
public String name()
Get the name property: The name of the administrator.
Returns:
role
public String role()
Get the role property: The role of the administrator.
Returns:
toJson
type
public String type()
Get the type property: The type of the administrator.
Returns:
validate
public void validate()
Validates the instance.
withEmailAddress
public ClassicAdministratorInner withEmailAddress(String emailAddress)
Set the emailAddress property: The email address of the administrator.
Parameters:
Returns:
withId
public ClassicAdministratorInner withId(String id)
Set the id property: The ID of the administrator.
Parameters:
Returns:
withName
public ClassicAdministratorInner withName(String name)
Set the name property: The name of the administrator.
Parameters:
Returns:
withRole
public ClassicAdministratorInner withRole(String role)
Set the role property: The role of the administrator.
Parameters:
Returns:
withType
public ClassicAdministratorInner withType(String type)
Set the type property: The type of the administrator.
Parameters:
Returns: