UserAssignedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. UserAssignedIdentity
- com.
public final class UserAssignedIdentity
A managed identity assigned by the user.
Constructor Summary
| Constructor | Description |
|---|---|
| UserAssignedIdentity() |
Creates an instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
| String |
principalId()
Get the principal |
| void |
validate()
Validates the instance. |
|
User |
withClientId(String clientId)
Set the client |
|
User |
withPrincipalId(String principalId)
Set the principal |
Methods inherited from java.lang.Object
Constructor Details
UserAssignedIdentity
public UserAssignedIdentity()
Creates an instance of UserAssignedIdentity class.
Method Details
clientId
public String clientId()
Get the clientId property: The active directory client identifier for this principal.
Returns:
principalId
public String principalId()
Get the principalId property: The active directory identifier for this principal.
Returns:
validate
public void validate()
Validates the instance.
withClientId
public UserAssignedIdentity withClientId(String clientId)
Set the clientId property: The active directory client identifier for this principal.
Parameters:
Returns:
withPrincipalId
public UserAssignedIdentity withPrincipalId(String principalId)
Set the principalId property: The active directory identifier for this principal.
Parameters:
Returns: