Class ResourceModelWithAllowedPropertySetIdentity
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.Identity
com.azure.resourcemanager.desktopvirtualization.models.ResourceModelWithAllowedPropertySetIdentity
The ResourceModelWithAllowedPropertySetIdentity model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withType
(ResourceIdentityType type) Set the type property: The identity type.Methods inherited from class com.azure.resourcemanager.desktopvirtualization.models.Identity
principalId, tenantId, type
-
Constructor Details
-
ResourceModelWithAllowedPropertySetIdentity
public ResourceModelWithAllowedPropertySetIdentity()
-
-
Method Details
-
withType
Set the type property: The identity type. -
validate
public void validate()Validates the instance.- Overrides:
validate
in classIdentity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-