Class ActiveDirectoryAdministratorAdd

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.ActiveDirectoryAdministratorAdd

public final class ActiveDirectoryAdministratorAdd extends Object
Represents an Active Directory administrator.
  • Constructor Details

    • ActiveDirectoryAdministratorAdd

      public ActiveDirectoryAdministratorAdd()
      Creates an instance of ActiveDirectoryAdministratorAdd class.
  • Method Details

    • principalType

      public PrincipalType principalType()
      Get the principalType property: The principal type used to represent the type of Active Directory Administrator.
      Returns:
      the principalType value.
    • withPrincipalType

      public ActiveDirectoryAdministratorAdd withPrincipalType(PrincipalType principalType)
      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

      public String principalName()
      Get the principalName property: Active Directory administrator principal name.
      Returns:
      the principalName value.
    • withPrincipalName

      public ActiveDirectoryAdministratorAdd withPrincipalName(String principalName)
      Set the principalName property: Active Directory administrator principal name.
      Parameters:
      principalName - the principalName value to set.
      Returns:
      the ActiveDirectoryAdministratorAdd object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenantId of the Active Directory administrator.
      Returns:
      the tenantId value.
    • withTenantId

      public ActiveDirectoryAdministratorAdd withTenantId(String tenantId)
      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.