Class ActiveDirectoryAdministratorAdd
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.ActiveDirectoryAdministratorAdd
Represents an Active Directory administrator.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ActiveDirectoryAdministratorAdd class. -
Method Summary
Modifier and TypeMethodDescriptionGet the principalName property: Active Directory administrator principal name.Get the principalType property: The principal type used to represent the type of Active Directory Administrator.tenantId()
Get the tenantId property: The tenantId of the Active Directory administrator.void
validate()
Validates the instance.withPrincipalName
(String principalName) Set the principalName property: Active Directory administrator principal name.withPrincipalType
(PrincipalType principalType) Set the principalType property: The principal type used to represent the type of Active Directory Administrator.withTenantId
(String tenantId) Set the tenantId property: The tenantId of the Active Directory administrator.
-
Constructor Details
-
ActiveDirectoryAdministratorAdd
public ActiveDirectoryAdministratorAdd()Creates an instance of ActiveDirectoryAdministratorAdd class.
-
-
Method Details
-
principalType
Get the principalType property: The principal type used to represent the type of Active Directory Administrator.- Returns:
- the principalType value.
-
withPrincipalType
Set the principalType property: The principal type used to represent the type of Active Directory Administrator.- Parameters:
principalType
- the principalType value to set.- Returns:
- the ActiveDirectoryAdministratorAdd object itself.
-
principalName
Get the principalName property: Active Directory administrator principal name.- Returns:
- the principalName value.
-
withPrincipalName
Set the principalName property: Active Directory administrator principal name.- Parameters:
principalName
- the principalName value to set.- Returns:
- the ActiveDirectoryAdministratorAdd object itself.
-
tenantId
Get the tenantId property: The tenantId of the Active Directory administrator.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: The tenantId of the Active Directory administrator.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the ActiveDirectoryAdministratorAdd object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-