### YamlMime:JavaType uid: "com.azure.resourcemanager.resourcemover.models.Identity" fullName: "com.azure.resourcemanager.resourcemover.models.Identity" name: "Identity" nameWithType: "Identity" summary: "Defines the MSI properties of the Move Collection." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **Identity**" constructors: - uid: "com.azure.resourcemanager.resourcemover.models.Identity.Identity()" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.Identity()" name: "Identity()" nameWithType: "Identity.Identity()" summary: "Creates an instance of Identity class." syntax: "public Identity()" desc: "Creates an instance of Identity class." methods: - uid: "com.azure.resourcemanager.resourcemover.models.Identity.principalId()" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.principalId()" name: "principalId()" nameWithType: "Identity.principalId()" summary: "Get the principalId property: Gets or sets the principal id." syntax: "public String principalId()" desc: "Get the principalId property: Gets or sets the principal id." returns: description: "the principalId value." type: "String" - uid: "com.azure.resourcemanager.resourcemover.models.Identity.tenantId()" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.tenantId()" name: "tenantId()" nameWithType: "Identity.tenantId()" summary: "Get the tenantId property: Gets or sets the tenant id." syntax: "public String tenantId()" desc: "Get the tenantId property: Gets or sets the tenant id." returns: description: "the tenantId value." type: "String" - uid: "com.azure.resourcemanager.resourcemover.models.Identity.type()" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.type()" name: "type()" nameWithType: "Identity.type()" summary: "Get the type property: The type of identity used for the resource mover service." syntax: "public ResourceIdentityType type()" desc: "Get the type property: The type of identity used for the resource mover service." returns: description: "the type value." type: "" - uid: "com.azure.resourcemanager.resourcemover.models.Identity.validate()" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.validate()" name: "validate()" nameWithType: "Identity.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.resourcemover.models.Identity.withPrincipalId(java.lang.String)" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.withPrincipalId(String principalId)" name: "withPrincipalId(String principalId)" nameWithType: "Identity.withPrincipalId(String principalId)" summary: "Set the principalId property: Gets or sets the principal id." parameters: - description: "the principalId value to set." name: "principalId" type: "String" syntax: "public Identity withPrincipalId(String principalId)" desc: "Set the principalId property: Gets or sets the principal id." returns: description: "the Identity object itself." type: "" - uid: "com.azure.resourcemanager.resourcemover.models.Identity.withTenantId(java.lang.String)" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.withTenantId(String tenantId)" name: "withTenantId(String tenantId)" nameWithType: "Identity.withTenantId(String tenantId)" summary: "Set the tenantId property: Gets or sets the tenant id." parameters: - description: "the tenantId value to set." name: "tenantId" type: "String" syntax: "public Identity withTenantId(String tenantId)" desc: "Set the tenantId property: Gets or sets the tenant id." returns: description: "the Identity object itself." type: "" - uid: "com.azure.resourcemanager.resourcemover.models.Identity.withType(com.azure.resourcemanager.resourcemover.models.ResourceIdentityType)" fullName: "com.azure.resourcemanager.resourcemover.models.Identity.withType(ResourceIdentityType type)" name: "withType(ResourceIdentityType type)" nameWithType: "Identity.withType(ResourceIdentityType type)" summary: "Set the type property: The type of identity used for the resource mover service." parameters: - description: "the type value to set." name: "type" type: "" syntax: "public Identity withType(ResourceIdentityType type)" desc: "Set the type property: The type of identity used for the resource mover service." returns: description: "the Identity object itself." type: "" type: "class" desc: "Defines the MSI properties of the Move Collection." metadata: {} package: "com.azure.resourcemanager.resourcemover.models" artifact: com.azure.resourcemanager:azure-resourcemanager-resourcemover:1.1.0