Class AdministratorPropertiesForAdd

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.AdministratorPropertiesForAdd

public final class AdministratorPropertiesForAdd extends Object
The properties of an Active Directory administrator.
  • Constructor Details

    • AdministratorPropertiesForAdd

      public AdministratorPropertiesForAdd()
      Creates an instance of AdministratorPropertiesForAdd 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 AdministratorPropertiesForAdd 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 AdministratorPropertiesForAdd object itself.
    • principalName

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

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

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

      public AdministratorPropertiesForAdd withTenantId(String tenantId)
      Set the tenantId property: The tenantId of the Active Directory administrator.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the AdministratorPropertiesForAdd object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.