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 Summary
ConstructorDescriptionCreates an instance of ActiveDirectoryAdministratorInner class. -
Method Summary
Modifier and TypeMethodDescriptionobjectId()
Get the objectId property: The objectId of the Active Directory administrator.Get the principalName property: Active Directory administrator principal name.Get the principalType property: The principal type used to represent the type of Active Directory Administrator.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tenantId()
Get the tenantId property: The tenantId of the Active Directory administrator.void
validate()
Validates the instance.withObjectId
(String objectId) Set the objectId property: The objectId of the Active Directory administrator.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
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 ActiveDirectoryAdministratorInner 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 ActiveDirectoryAdministratorInner object itself.
-
objectId
Get the objectId property: The objectId of the Active Directory administrator.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The objectId of the Active Directory administrator.- Parameters:
objectId
- the objectId value to set.- Returns:
- the ActiveDirectoryAdministratorInner 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 ActiveDirectoryAdministratorInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-