Class FactoryIdentity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.FactoryIdentity
-
public class FactoryIdentity extends Object
Identity properties of the factory resource.
-
-
Constructor Summary
Constructors Constructor Description FactoryIdentity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
principalId()
Get the principalId property: The principal id of the identity.UUID
tenantId()
Get the tenantId property: The client tenant id of the identity.FactoryIdentityType
type()
Get the type property: The identity type.Map<String,Object>
userAssignedIdentities()
Get the userAssignedIdentities property: List of user assigned identities for the factory.void
validate()
Validates the instance.FactoryIdentity
withType(FactoryIdentityType type)
Set the type property: The identity type.FactoryIdentity
withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
Set the userAssignedIdentities property: List of user assigned identities for the factory.
-
-
-
Method Detail
-
type
public FactoryIdentityType type()
Get the type property: The identity type.- Returns:
- the type value.
-
withType
public FactoryIdentity withType(FactoryIdentityType type)
Set the type property: The identity type.- Parameters:
type
- the type value to set.- Returns:
- the FactoryIdentity object itself.
-
principalId
public UUID principalId()
Get the principalId property: The principal id of the identity.- Returns:
- the principalId value.
-
tenantId
public UUID tenantId()
Get the tenantId property: The client tenant id of the identity.- Returns:
- the tenantId value.
-
userAssignedIdentities
public Map<String,Object> userAssignedIdentities()
Get the userAssignedIdentities property: List of user assigned identities for the factory.- Returns:
- the userAssignedIdentities value.
-
withUserAssignedIdentities
public FactoryIdentity withUserAssignedIdentities(Map<String,Object> userAssignedIdentities)
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.
-
-