Class ActiveDirectoryAdministratorInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ActiveDirectoryAdministratorInner

public final class ActiveDirectoryAdministratorInner extends com.azure.core.management.ProxyResource
Represents an Active Directory administrator.
  • Constructor Details

    • ActiveDirectoryAdministratorInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • 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 ActiveDirectoryAdministratorInner 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 ActiveDirectoryAdministratorInner object itself.
    • principalName

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

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

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

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

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

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

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