UserAssignedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. UserAssignedIdentity
- com.
Implements
public class UserAssignedIdentity
implements JsonSerializable<UserAssignedIdentity>
Details about a user assigned identity.
Constructor Summary
Constructor | Description |
---|---|
UserAssignedIdentity() |
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 |
objectId()
Get the object |
String |
resourceId()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
User |
withClientId(String clientId)
Set the client |
User |
withObjectId(String objectId)
Set the object |
User |
withResourceId(String resourceId)
Set the resource |
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 client ID of the user assigned identity.
Returns:
fromJson
public static UserAssignedIdentity fromJson(JsonReader jsonReader)
Reads an instance of UserAssignedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
objectId
public String objectId()
Get the objectId property: The object ID of the user assigned identity.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The resource ID of the user assigned identity.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientId
public UserAssignedIdentity withClientId(String clientId)
Set the clientId property: The client ID of the user assigned identity.
Parameters:
Returns:
withObjectId
public UserAssignedIdentity withObjectId(String objectId)
Set the objectId property: The object ID of the user assigned identity.
Parameters:
Returns:
withResourceId
public UserAssignedIdentity withResourceId(String resourceId)
Set the resourceId property: The resource ID of the user assigned identity.
Parameters:
Returns:
Applies to
Azure SDK for Java