public class Identity extends Object
| Constructor and Description |
|---|
Identity() |
| Modifier and Type | Method and Description |
|---|---|
String |
principalId()
Get the principalId property: The principal ID of resource identity.
|
String |
tenantId()
Get the tenantId property: The tenant ID of resource.
|
ResourceIdentityType |
type()
Get the type property: The identity type.
|
Map<String,IdentityUserAssignedIdentitiesValue> |
userAssignedIdentities()
Get the userAssignedIdentities property: The list of user identities associated with the resource.
|
void |
validate()
Validates the instance.
|
Identity |
withType(ResourceIdentityType type)
Set the type property: The identity type.
|
Identity |
withUserAssignedIdentities(Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities)
Set the userAssignedIdentities property: The list of user identities associated with the resource.
|
public String principalId()
public String tenantId()
public ResourceIdentityType type()
public Identity withType(ResourceIdentityType type)
type - the type value to set.public Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities()
public Identity withUserAssignedIdentities(Map<String,IdentityUserAssignedIdentitiesValue> userAssignedIdentities)
userAssignedIdentities - the userAssignedIdentities value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.