Class ResourceModelWithAllowedPropertySetIdentity
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.Identity
com.azure.resourcemanager.desktopvirtualization.models.ResourceModelWithAllowedPropertySetIdentity
The ResourceModelWithAllowedPropertySetIdentity model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourceModelWithAllowedPropertySetIdentity class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()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()Creates an instance of ResourceModelWithAllowedPropertySetIdentity class.
-
-
Method Details
-
withType
Set the type property: The identity type. -
validate
public void validate()Validates the instance.- Overrides:
validatein classIdentity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-