public class Identity extends Object
| Constructor and Description |
|---|
Identity()
Creates an instance of Identity class.
|
| 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.
|
String |
type()
Get the type property: The identity type.
|
void |
validate()
Validates the instance.
|
Identity |
withType(String type)
Set the type property: The identity type.
|
public String principalId()
public String tenantId()
public String type()
public Identity withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.