public class ResourceIdentity extends Object
Constructor and Description |
---|
ResourceIdentity() |
Modifier and Type | Method and Description |
---|---|
UUID |
principalId()
Get the principalId property: The Azure Active Directory principal id.
|
UUID |
tenantId()
Get the tenantId property: The Azure Active Directory tenant id.
|
IdentityType |
type()
Get the type property: The identity type.
|
void |
validate()
Validates the instance.
|
ResourceIdentity |
withType(IdentityType type)
Set the type property: The identity type.
|
public UUID principalId()
public IdentityType type()
public ResourceIdentity withType(IdentityType type)
type
- the type value to set.public UUID tenantId()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.