Class ManagedInstanceAdministratorInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ManagedInstanceAdministratorInner
-
public class ManagedInstanceAdministratorInner extends com.azure.core.management.ProxyResourceAn Azure SQL managed instance administrator.
-
-
Constructor Summary
Constructors Constructor Description ManagedInstanceAdministratorInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstanceAdministratorTypeadministratorType()Get the administratorType property: Type of the managed instance administrator.Stringlogin()Get the login property: Login name of the managed instance administrator.UUIDsid()Get the sid property: SID (object ID) of the managed instance administrator.UUIDtenantId()Get the tenantId property: Tenant ID of the managed instance administrator.voidvalidate()Validates the instance.ManagedInstanceAdministratorInnerwithAdministratorType(ManagedInstanceAdministratorType administratorType)Set the administratorType property: Type of the managed instance administrator.ManagedInstanceAdministratorInnerwithLogin(String login)Set the login property: Login name of the managed instance administrator.ManagedInstanceAdministratorInnerwithSid(UUID sid)Set the sid property: SID (object ID) of the managed instance administrator.ManagedInstanceAdministratorInnerwithTenantId(UUID tenantId)Set the tenantId property: Tenant ID of the managed instance administrator.
-
-
-
Method Detail
-
administratorType
public ManagedInstanceAdministratorType administratorType()
Get the administratorType property: Type of the managed instance administrator.- Returns:
- the administratorType value.
-
withAdministratorType
public ManagedInstanceAdministratorInner withAdministratorType(ManagedInstanceAdministratorType administratorType)
Set the administratorType property: Type of the managed instance administrator.- Parameters:
administratorType- the administratorType value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
login
public String login()
Get the login property: Login name of the managed instance administrator.- Returns:
- the login value.
-
withLogin
public ManagedInstanceAdministratorInner withLogin(String login)
Set the login property: Login name of the managed instance administrator.- Parameters:
login- the login value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
sid
public UUID sid()
Get the sid property: SID (object ID) of the managed instance administrator.- Returns:
- the sid value.
-
withSid
public ManagedInstanceAdministratorInner withSid(UUID sid)
Set the sid property: SID (object ID) of the managed instance administrator.- Parameters:
sid- the sid value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
tenantId
public UUID tenantId()
Get the tenantId property: Tenant ID of the managed instance administrator.- Returns:
- the tenantId value.
-
withTenantId
public ManagedInstanceAdministratorInner withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the managed instance administrator.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-