次の方法で共有


UserAssignedIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.UserAssignedIdentity

public final class UserAssignedIdentity

A managed identity assigned by the user.

Constructor Summary

Constructor Description
UserAssignedIdentity()

Creates an instance of UserAssignedIdentity class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The active directory client identifier for this principal.

String principalId()

Get the principalId property: The active directory identifier for this principal.

void validate()

Validates the instance.

UserAssignedIdentity withClientId(String clientId)

Set the clientId property: The active directory client identifier for this principal.

UserAssignedIdentity withPrincipalId(String principalId)

Set the principalId property: The active directory identifier for this 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:

the clientId value.

principalId

public String principalId()

Get the principalId property: The active directory identifier for this principal.

Returns:

the principalId value.

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:

clientId - the clientId value to set.

Returns:

the UserAssignedIdentity object itself.

withPrincipalId

public UserAssignedIdentity withPrincipalId(String principalId)

Set the principalId property: The active directory identifier for this principal.

Parameters:

principalId - the principalId value to set.

Returns:

the UserAssignedIdentity object itself.

Applies to