Class AssignedUser


  • public final class AssignedUser
    extends Object
    A user that can be assigned to a compute instance.
    • Constructor Detail

      • AssignedUser

        public AssignedUser()
    • 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.