Class CmkIdentityDefinition
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CmkIdentityDefinition
-
public final class CmkIdentityDefinition extends Object
Managed Identity used for CMK.
-
-
Constructor Summary
Constructors Constructor Description CmkIdentityDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringuserAssignedIdentity()Get the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.voidvalidate()Validates the instance.CmkIdentityDefinitionwithUserAssignedIdentity(String userAssignedIdentity)Set the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.
-
-
-
Method Detail
-
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
public CmkIdentityDefinition withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.- Parameters:
userAssignedIdentity- the userAssignedIdentity value to set.- Returns:
- the CmkIdentityDefinition object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-