Class ServerAzureADAdministratorInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ServerAzureADAdministratorInner
-
public class ServerAzureADAdministratorInner extends com.azure.core.management.ProxyResourceAzure Active Directory administrator.
-
-
Constructor Summary
Constructors Constructor Description ServerAzureADAdministratorInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdministratorTypeadministratorType()Get the administratorType property: Type of the sever administrator.BooleanazureADOnlyAuthentication()Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.Stringlogin()Get the login property: Login name of the server administrator.UUIDsid()Get the sid property: SID (object ID) of the server administrator.UUIDtenantId()Get the tenantId property: Tenant ID of the administrator.voidvalidate()Validates the instance.ServerAzureADAdministratorInnerwithAdministratorType(AdministratorType administratorType)Set the administratorType property: Type of the sever administrator.ServerAzureADAdministratorInnerwithAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)Set the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.ServerAzureADAdministratorInnerwithLogin(String login)Set the login property: Login name of the server administrator.ServerAzureADAdministratorInnerwithSid(UUID sid)Set the sid property: SID (object ID) of the server administrator.ServerAzureADAdministratorInnerwithTenantId(UUID tenantId)Set the tenantId property: Tenant ID of the administrator.
-
-
-
Method Detail
-
administratorType
public AdministratorType administratorType()
Get the administratorType property: Type of the sever administrator.- Returns:
- the administratorType value.
-
withAdministratorType
public ServerAzureADAdministratorInner withAdministratorType(AdministratorType administratorType)
Set the administratorType property: Type of the sever administrator.- Parameters:
administratorType- the administratorType value to set.- Returns:
- the ServerAzureADAdministratorInner object itself.
-
login
public String login()
Get the login property: Login name of the server administrator.- Returns:
- the login value.
-
withLogin
public ServerAzureADAdministratorInner withLogin(String login)
Set the login property: Login name of the server administrator.- Parameters:
login- the login value to set.- Returns:
- the ServerAzureADAdministratorInner object itself.
-
sid
public UUID sid()
Get the sid property: SID (object ID) of the server administrator.- Returns:
- the sid value.
-
withSid
public ServerAzureADAdministratorInner withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator.- Parameters:
sid- the sid value to set.- Returns:
- the ServerAzureADAdministratorInner object itself.
-
tenantId
public UUID tenantId()
Get the tenantId property: Tenant ID of the administrator.- Returns:
- the tenantId value.
-
withTenantId
public ServerAzureADAdministratorInner withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the administrator.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ServerAzureADAdministratorInner object itself.
-
azureADOnlyAuthentication
public Boolean azureADOnlyAuthentication()
Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.- Returns:
- the azureADOnlyAuthentication value.
-
withAzureADOnlyAuthentication
public ServerAzureADAdministratorInner withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.- Parameters:
azureADOnlyAuthentication- the azureADOnlyAuthentication value to set.- Returns:
- the ServerAzureADAdministratorInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-