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