Identity Class
- java.
lang. Object - com.
azure. resourcemanager. resourcemover. models. Identity
- com.
public final class Identity
Defines the MSI properties of the Move Collection.
Constructor Summary
Constructor | Description |
---|---|
Identity() |
Creates an instance of Identity class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principal |
String |
tenantId()
Get the tenant |
Resource |
type()
Get the type property: The type of identity used for the resource mover service. |
void |
validate()
Validates the instance. |
Identity |
withPrincipalId(String principalId)
Set the principal |
Identity |
withTenantId(String tenantId)
Set the tenant |
Identity |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the resource mover service. |
Methods inherited from java.lang.Object
Constructor Details
Identity
public Identity()
Creates an instance of Identity class.
Method Details
principalId
public String principalId()
Get the principalId property: Gets or sets the principal id.
Returns:
tenantId
public String tenantId()
Get the tenantId property: Gets or sets the tenant id.
Returns:
type
public ResourceIdentityType type()
Get the type property: The type of identity used for the resource mover service.
Returns:
validate
public void validate()
Validates the instance.
withPrincipalId
public Identity withPrincipalId(String principalId)
Set the principalId property: Gets or sets the principal id.
Parameters:
Returns:
withTenantId
public Identity withTenantId(String tenantId)
Set the tenantId property: Gets or sets the tenant id.
Parameters:
Returns:
withType
public Identity withType(ResourceIdentityType type)
Set the type property: The type of identity used for the resource mover service.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for