Class ManagedInstanceAdministratorProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ManagedInstanceAdministratorProperties
The properties of a managed instance administrator.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstanceAdministratorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorType property: Type of the managed instance administrator.login()Get the login property: Login name of the managed instance administrator.sid()Get the sid property: SID (object ID) of the managed instance administrator.tenantId()Get the tenantId property: Tenant ID of the managed instance administrator.voidvalidate()Validates the instance.withAdministratorType(ManagedInstanceAdministratorType administratorType) Set the administratorType property: Type of the managed instance administrator.Set the login property: Login name of the managed instance administrator.Set the sid property: SID (object ID) of the managed instance administrator.withTenantId(UUID tenantId) Set the tenantId property: Tenant ID of the managed instance administrator.
-
Constructor Details
-
ManagedInstanceAdministratorProperties
public ManagedInstanceAdministratorProperties()Creates an instance of ManagedInstanceAdministratorProperties class.
-
-
Method Details
-
administratorType
Get the administratorType property: Type of the managed instance administrator.- Returns:
- the administratorType value.
-
withAdministratorType
public ManagedInstanceAdministratorProperties withAdministratorType(ManagedInstanceAdministratorType administratorType) Set the administratorType property: Type of the managed instance administrator.- Parameters:
administratorType- the administratorType value to set.- Returns:
- the ManagedInstanceAdministratorProperties object itself.
-
login
Get the login property: Login name of the managed instance administrator.- Returns:
- the login value.
-
withLogin
Set the login property: Login name of the managed instance administrator.- Parameters:
login- the login value to set.- Returns:
- the ManagedInstanceAdministratorProperties object itself.
-
sid
Get the sid property: SID (object ID) of the managed instance administrator.- Returns:
- the sid value.
-
withSid
Set the sid property: SID (object ID) of the managed instance administrator.- Parameters:
sid- the sid value to set.- Returns:
- the ManagedInstanceAdministratorProperties object itself.
-
tenantId
Get the tenantId property: Tenant ID of the managed instance administrator.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant ID of the managed instance administrator.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedInstanceAdministratorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-