UserIdentityProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.UserIdentityProperties

public final class UserIdentityProperties

The information about the user identity.

Constructor Summary

Constructor Description
UserIdentityProperties()

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The client id of user assigned identity.

String principalId()

Get the principalId property: The principal id of user assigned identity.

void validate()

Validates the instance.

UserIdentityProperties withClientId(String clientId)

Set the clientId property: The client id of user assigned identity.

UserIdentityProperties withPrincipalId(String principalId)

Set the principalId property: The principal id of user assigned identity.

Methods inherited from java.lang.Object

Constructor Details

UserIdentityProperties

public UserIdentityProperties()

Method Details

clientId

public String clientId()

Get the clientId property: The client id of user assigned identity.

Returns:

the clientId value.

principalId

public String principalId()

Get the principalId property: The principal id of user assigned identity.

Returns:

the principalId value.

validate

public void validate()

Validates the instance.

withClientId

public UserIdentityProperties withClientId(String clientId)

Set the clientId property: The client id of user assigned identity.

Parameters:

clientId - the clientId value to set.

Returns:

the UserIdentityProperties object itself.

withPrincipalId

public UserIdentityProperties withPrincipalId(String principalId)

Set the principalId property: The principal id of user assigned identity.

Parameters:

principalId - the principalId value to set.

Returns:

the UserIdentityProperties object itself.

Applies to