ManagedInstanceAdministratorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceAdministratorProperties
- com.
Implements
public final class ManagedInstanceAdministratorProperties
implements JsonSerializable<ManagedInstanceAdministratorProperties>
The properties of a managed instance administrator.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedInstanceAdministratorProperties() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Managed |
administratorType()
Get the administrator |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
login()
Get the login property: Login name of the managed instance administrator. |
| UUID |
sid()
Get the sid property: SID (object ID) of the managed instance administrator. |
| UUID |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withAdministratorType(ManagedInstanceAdministratorType administratorType)
Set the administrator |
|
Managed |
withLogin(String login)
Set the login property: Login name of the managed instance administrator. |
|
Managed |
withSid(UUID sid)
Set the sid property: SID (object ID) of the managed instance administrator. |
|
Managed |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceAdministratorProperties
public ManagedInstanceAdministratorProperties()
Creates an instance of ManagedInstanceAdministratorProperties class.
Method Details
administratorType
public ManagedInstanceAdministratorType administratorType()
Get the administratorType property: Type of the managed instance administrator.
Returns:
fromJson
public static ManagedInstanceAdministratorProperties fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceAdministratorProperties from the JsonReader.
Parameters:
Returns:
Throws:
login
public String login()
Get the login property: Login name of the managed instance administrator.
Returns:
sid
public UUID sid()
Get the sid property: SID (object ID) of the managed instance administrator.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: Tenant ID of the managed instance administrator.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdministratorType
public ManagedInstanceAdministratorProperties withAdministratorType(ManagedInstanceAdministratorType administratorType)
Set the administratorType property: Type of the managed instance administrator.
Parameters:
Returns:
withLogin
public ManagedInstanceAdministratorProperties withLogin(String login)
Set the login property: Login name of the managed instance administrator.
Parameters:
Returns:
withSid
public ManagedInstanceAdministratorProperties withSid(UUID sid)
Set the sid property: SID (object ID) of the managed instance administrator.
Parameters:
Returns:
withTenantId
public ManagedInstanceAdministratorProperties withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the managed instance administrator.
Parameters:
Returns: