ApplicationUserAssignedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ApplicationUserAssignedIdentity
- com.
Implements
public final class ApplicationUserAssignedIdentity
implements JsonSerializable<ApplicationUserAssignedIdentity>
The ApplicationUserAssignedIdentity model.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationUserAssignedIdentity() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
name()
Get the name property: The friendly name of user assigned identity. |
| String |
principalId()
Get the principal |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withName(String name)
Set the name property: The friendly name of user assigned identity. |
|
Application |
withPrincipalId(String principalId)
Set the principal |
Methods inherited from java.lang.Object
Constructor Details
ApplicationUserAssignedIdentity
public ApplicationUserAssignedIdentity()
Creates an instance of ApplicationUserAssignedIdentity class.
Method Details
fromJson
public static ApplicationUserAssignedIdentity fromJson(JsonReader jsonReader)
Reads an instance of ApplicationUserAssignedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The friendly name of user assigned identity.
Returns:
principalId
public String principalId()
Get the principalId property: The principal id of user assigned identity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public ApplicationUserAssignedIdentity withName(String name)
Set the name property: The friendly name of user assigned identity.
Parameters:
Returns:
withPrincipalId
public ApplicationUserAssignedIdentity withPrincipalId(String principalId)
Set the principalId property: The principal id of user assigned identity.
Parameters:
Returns: