Class ManagedIdentity
java.lang.Object
com.azure.resourcemanager.iothub.models.ManagedIdentity
The properties of the Managed identity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the userAssignedIdentity property: The user assigned identity.void
validate()
Validates the instance.withUserAssignedIdentity
(String userAssignedIdentity) Set the userAssignedIdentity property: The user assigned identity.
-
Constructor Details
-
ManagedIdentity
public ManagedIdentity()
-
-
Method Details
-
userAssignedIdentity
Get the userAssignedIdentity property: The user assigned identity.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
Set the userAssignedIdentity property: The user assigned identity.- Parameters:
userAssignedIdentity
- the userAssignedIdentity value to set.- Returns:
- the ManagedIdentity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-