Class FactoryIdentity
java.lang.Object
com.azure.resourcemanager.datafactory.models.FactoryIdentity
Identity properties of the factory resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the principalId property: The principal id of the identity.tenantId()
Get the tenantId property: The client tenant id of the identity.type()
Get the type property: The identity type.Get the userAssignedIdentities property: List of user assigned identities for the factory.void
validate()
Validates the instance.withType
(FactoryIdentityType type) Set the type property: The identity type.withUserAssignedIdentities
(Map<String, Object> userAssignedIdentities) Set the userAssignedIdentities property: List of user assigned identities for the factory.
-
Constructor Details
-
FactoryIdentity
public FactoryIdentity()Creates an instance of FactoryIdentity class.
-
-
Method Details
-
type
Get the type property: The identity type.- Returns:
- the type value.
-
withType
Set the type property: The identity type.- Parameters:
type
- the type value to set.- Returns:
- the FactoryIdentity object itself.
-
principalId
Get the principalId property: The principal id of the identity.- Returns:
- the principalId value.
-
tenantId
Get the tenantId property: The client tenant id of the identity.- Returns:
- the tenantId value.
-
userAssignedIdentities
Get the userAssignedIdentities property: List of user assigned identities for the factory.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
Set the userAssignedIdentities property: List of user assigned identities for the factory.- Parameters:
userAssignedIdentities
- the userAssignedIdentities value to set.- Returns:
- the FactoryIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-