UserIdentityProperties Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. UserIdentityProperties
- com.
Implements
public final class UserIdentityProperties
implements JsonSerializable<UserIdentityProperties>
The information about the user identity.
Constructor Summary
| Constructor | Description |
|---|---|
| UserIdentityProperties() |
Creates an instance of User |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
| String |
principalId()
Get the principal |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
UserIdentityProperties
public UserIdentityProperties()
Creates an instance of UserIdentityProperties class.
Method Details
clientId
public String clientId()
Get the clientId property: The client id of user assigned identity.
Returns:
fromJson
public static UserIdentityProperties fromJson(JsonReader jsonReader)
Reads an instance of UserIdentityProperties from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The principal id of user assigned identity.
Returns:
toJson
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:
Returns:
withPrincipalId
public UserIdentityProperties withPrincipalId(String principalId)
Set the principalId property: The principal id of user assigned identity.
Parameters:
Returns: