Class AssignedUser
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AssignedUser
-
public final class AssignedUser extends Object
A user that can be assigned to a compute instance.
-
-
Constructor Summary
Constructors Constructor Description AssignedUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
objectId()
Get the objectId property: User’s AAD Object Id.String
tenantId()
Get the tenantId property: User’s AAD Tenant Id.void
validate()
Validates the instance.AssignedUser
withObjectId(String objectId)
Set the objectId property: User’s AAD Object Id.AssignedUser
withTenantId(String tenantId)
Set the tenantId property: User’s AAD Tenant Id.
-
-
-
Method Detail
-
objectId
public String objectId()
Get the objectId property: User’s AAD Object Id.- Returns:
- the objectId value.
-
withObjectId
public AssignedUser withObjectId(String objectId)
Set the objectId property: User’s AAD Object Id.- Parameters:
objectId
- the objectId value to set.- Returns:
- the AssignedUser object itself.
-
tenantId
public String tenantId()
Get the tenantId property: User’s AAD Tenant Id.- Returns:
- the tenantId value.
-
withTenantId
public AssignedUser withTenantId(String tenantId)
Set the tenantId property: User’s AAD Tenant Id.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the AssignedUser object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-