Class AdministratorProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.AdministratorProperties
Properties of a active directory administrator.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AdministratorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorType property: Type of the sever administrator.Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.login()Get the login property: Login name of the server administrator.sid()Get the sid property: SID (object ID) of the server administrator.tenantId()Get the tenantId property: Tenant ID of the administrator.voidvalidate()Validates the instance.withAdministratorType(AdministratorType administratorType) Set the administratorType property: Type of the sever administrator.Set the login property: Login name of the server administrator.Set the sid property: SID (object ID) of the server administrator.withTenantId(UUID tenantId) Set the tenantId property: Tenant ID of the administrator.
-
Constructor Details
-
AdministratorProperties
public AdministratorProperties()Creates an instance of AdministratorProperties class.
-
-
Method Details
-
administratorType
Get the administratorType property: Type of the sever administrator.- Returns:
- the administratorType value.
-
withAdministratorType
Set the administratorType property: Type of the sever administrator.- Parameters:
administratorType- the administratorType value to set.- Returns:
- the AdministratorProperties object itself.
-
login
Get the login property: Login name of the server administrator.- Returns:
- the login value.
-
withLogin
Set the login property: Login name of the server administrator.- Parameters:
login- the login value to set.- Returns:
- the AdministratorProperties object itself.
-
sid
Get the sid property: SID (object ID) of the server administrator.- Returns:
- the sid value.
-
withSid
Set the sid property: SID (object ID) of the server administrator.- Parameters:
sid- the sid value to set.- Returns:
- the AdministratorProperties object itself.
-
tenantId
Get the tenantId property: Tenant ID of the administrator.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant ID of the administrator.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the AdministratorProperties object itself.
-
azureADOnlyAuthentication
Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.- Returns:
- the azureADOnlyAuthentication value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-