ServerAdministratorResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. mysql. fluent. models. ServerAdministratorResourceInner
- com.
- com.
public final class ServerAdministratorResourceInner
extends ProxyResource
Represents a and external administrator to be created.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ServerAdministratorResourceInner() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Administrator |
administratorType()
Get the administrator |
| String |
login()
Get the login property: The server administrator login account name. |
| UUID |
sid()
Get the sid property: The server administrator Sid (Secure ID). |
| UUID |
tenantId()
Get the tenant |
| void |
validate()
Validates the instance. |
|
Server |
withAdministratorType(AdministratorType administratorType)
Set the administrator |
|
Server |
withLogin(String login)
Set the login property: The server administrator login account name. |
|
Server |
withSid(UUID sid)
Set the sid property: The server administrator Sid (Secure ID). |
|
Server |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerAdministratorResourceInner
public ServerAdministratorResourceInner()
Method Details
administratorType
public AdministratorType administratorType()
Get the administratorType property: The type of administrator.
Returns:
login
public String login()
Get the login property: The server administrator login account name.
Returns:
sid
public UUID sid()
Get the sid property: The server administrator Sid (Secure ID).
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: The server Active Directory Administrator tenant id.
Returns:
validate
public void validate()
Validates the instance.
withAdministratorType
public ServerAdministratorResourceInner withAdministratorType(AdministratorType administratorType)
Set the administratorType property: The type of administrator.
Parameters:
Returns:
withLogin
public ServerAdministratorResourceInner withLogin(String login)
Set the login property: The server administrator login account name.
Parameters:
Returns:
withSid
public ServerAdministratorResourceInner withSid(UUID sid)
Set the sid property: The server administrator Sid (Secure ID).
Parameters:
Returns:
withTenantId
public ServerAdministratorResourceInner withTenantId(UUID tenantId)
Set the tenantId property: The server Active Directory Administrator tenant id.
Parameters:
Returns: