Identity Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.Identity
- com.
public class Identity
Defines the MSI properties of the Move Collection.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Identity() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
principalId()
Get gets or sets the principal id. |
| java.lang.String |
tenantId()
Get gets or sets the tenant id. |
|
Resource |
type()
Get possible values include: 'None', 'System |
| Identity |
withPrincipalId(String principalId)
Set gets or sets the principal id. |
| Identity |
withTenantId(String tenantId)
Set gets or sets the tenant id. |
| Identity |
withType(ResourceIdentityType type)
Set possible values include: 'None', 'System |
Methods inherited from java.lang.Object
Constructor Details
Identity
public Identity()
Method Details
principalId
public String principalId()
Get gets or sets the principal id.
Returns:
tenantId
public String tenantId()
Get gets or sets the tenant id.
Returns:
type
public ResourceIdentityType type()
Get possible values include: 'None', 'SystemAssigned', 'UserAssigned'.
Returns:
withPrincipalId
public Identity withPrincipalId(String principalId)
Set gets or sets the principal id.
Parameters:
Returns:
withTenantId
public Identity withTenantId(String tenantId)
Set gets or sets the tenant id.
Parameters:
Returns:
withType
public Identity withType(ResourceIdentityType type)
Set possible values include: 'None', 'SystemAssigned', 'UserAssigned'.
Parameters:
Returns: