Class IdentityForCmk
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.IdentityForCmk
-
public final class IdentityForCmk extends Object
Identity that will be used to access key vault for encryption at rest.
-
-
Constructor Summary
Constructors Constructor Description IdentityForCmk()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
userAssignedIdentity()
Get the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.void
validate()
Validates the instance.IdentityForCmk
withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.
-
-
-
Method Detail
-
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
public IdentityForCmk withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.- Parameters:
userAssignedIdentity
- the userAssignedIdentity value to set.- Returns:
- the IdentityForCmk object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-