ServerExternalAdministrator Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ServerExternalAdministrator
- com.
Implements
public final class ServerExternalAdministrator
implements JsonSerializable<ServerExternalAdministrator>
Properties of a active directory administrator.
Constructor Summary
Constructor | Description |
---|---|
ServerExternalAdministrator() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
Administrator |
administratorType()
Get the administrator |
Boolean |
azureADOnlyAuthentication()
Get the azure |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
login()
Get the login property: Login name of the server administrator. |
Principal |
principalType()
Get the principal |
UUID |
sid()
Get the sid property: SID (object ID) of the server administrator. |
UUID |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Server |
withAdministratorType(AdministratorType administratorType)
Set the administrator |
Server |
withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azure |
Server |
withLogin(String login)
Set the login property: Login name of the server administrator. |
Server |
withPrincipalType(PrincipalType principalType)
Set the principal |
Server |
withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator. |
Server |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ServerExternalAdministrator
public ServerExternalAdministrator()
Creates an instance of ServerExternalAdministrator class.
Method Details
administratorType
public AdministratorType administratorType()
Get the administratorType property: Type of the sever administrator.
Returns:
azureADOnlyAuthentication
public Boolean azureADOnlyAuthentication()
Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.
Returns:
fromJson
public static ServerExternalAdministrator fromJson(JsonReader jsonReader)
Reads an instance of ServerExternalAdministrator from the JsonReader.
Parameters:
Returns:
Throws:
login
public String login()
Get the login property: Login name of the server administrator.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: Principal Type of the sever administrator.
Returns:
sid
public UUID sid()
Get the sid property: SID (object ID) of the server administrator.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: Tenant ID of the administrator.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdministratorType
public ServerExternalAdministrator withAdministratorType(AdministratorType administratorType)
Set the administratorType property: Type of the sever administrator.
Parameters:
Returns:
withAzureADOnlyAuthentication
public ServerExternalAdministrator withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.
Parameters:
Returns:
withLogin
public ServerExternalAdministrator withLogin(String login)
Set the login property: Login name of the server administrator.
Parameters:
Returns:
withPrincipalType
public ServerExternalAdministrator withPrincipalType(PrincipalType principalType)
Set the principalType property: Principal Type of the sever administrator.
Parameters:
Returns:
withSid
public ServerExternalAdministrator withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator.
Parameters:
Returns:
withTenantId
public ServerExternalAdministrator withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the administrator.
Parameters:
Returns:
Applies to
Azure SDK for Java