Class AzureADAdministratorInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mysqlflexibleserver.fluent.models.AzureADAdministratorInner
public final class AzureADAdministratorInner
extends com.azure.core.management.ProxyResource
Represents a Administrator.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureADAdministratorInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorType property: Type of the sever administrator.Get the identityResourceId property: The resource id of the identity used for AAD Authentication.login()
Get the login property: Login name of the server administrator.sid()
Get the sid property: SID (object ID) of the server administrator.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to this resource.tenantId()
Get the tenantId property: Tenant ID of the administrator.void
validate()
Validates the instance.withAdministratorType
(AdministratorType administratorType) Set the administratorType property: Type of the sever administrator.withIdentityResourceId
(String identityResourceId) Set the identityResourceId property: The resource id of the identity used for AAD Authentication.Set the login property: Login name of the server administrator.Set the sid property: SID (object ID) of the server administrator.withTenantId
(String tenantId) Set the tenantId property: Tenant ID of the administrator.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AzureADAdministratorInner
public AzureADAdministratorInner()Creates an instance of AzureADAdministratorInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
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 AzureADAdministratorInner 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 AzureADAdministratorInner 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 AzureADAdministratorInner 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 AzureADAdministratorInner object itself.
-
identityResourceId
Get the identityResourceId property: The resource id of the identity used for AAD Authentication.- Returns:
- the identityResourceId value.
-
withIdentityResourceId
Set the identityResourceId property: The resource id of the identity used for AAD Authentication.- Parameters:
identityResourceId
- the identityResourceId value to set.- Returns:
- the AzureADAdministratorInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-