AssignedUser Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. AssignedUser
- com.
Implements
public final class AssignedUser
implements JsonSerializable<AssignedUser>
A user that can be assigned to a compute instance.
Constructor Summary
| Constructor | Description |
|---|---|
| AssignedUser() |
Creates an instance of Assigned |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Assigned |
fromJson(JsonReader jsonReader)
Reads an instance of Assigned |
| String |
objectId()
Get the object |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Assigned |
withObjectId(String objectId)
Set the object |
|
Assigned |
withTenantId(String tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
AssignedUser
public AssignedUser()
Creates an instance of AssignedUser class.
Method Details
fromJson
public static AssignedUser fromJson(JsonReader jsonReader)
Reads an instance of AssignedUser from the JsonReader.
Parameters:
Returns:
Throws:
objectId
public String objectId()
Get the objectId property: User’s AAD Object Id.
Returns:
tenantId
public String tenantId()
Get the tenantId property: User’s AAD Tenant Id.
Returns:
toJson
validate
public void validate()
Validates the instance.
withObjectId
public AssignedUser withObjectId(String objectId)
Set the objectId property: User’s AAD Object Id.
Parameters:
Returns:
withTenantId
public AssignedUser withTenantId(String tenantId)
Set the tenantId property: User’s AAD Tenant Id.
Parameters:
Returns: